Closed GoogleCodeExporter closed 9 years ago
Sorry, the test case above is flawed. The less-than sign in HTML is not legal
and should have been escaped. I had tried to extract a minimal test case from
my application and didn't get it quite right.
In my app I am loading source code over Ajax, and passing it into
prettyPrintOne(). Now, for this to work correctly I need to HTML escape the
source code before I pass it in. It seems counter-intuitive that I need to do
that, and the documentation does not mention it. I suggest you either change
prettyPrintOne() so this isn't required, or update the docs to make it clear
you need to do this. Thanks.
Original comment by paul....@gmail.com
on 17 Mar 2014 at 11:26
I'm glad you got it working.
Original comment by mikesamuel@gmail.com
on 17 Mar 2014 at 5:45
Original issue reported on code.google.com by
paul....@gmail.com
on 16 Mar 2014 at 10:14