I am using ace editor to insert some code into a text area which is then inserted into our database.
When we do an htmlentities()
on the resulting code, it all appears in one line. We would like to wrap the code in <pre>
tags so that we can display it on a web page in a nice easy to read format.
Thank you!