mohitbhatia1994 / google-code-prettify

Automatically exported from code.google.com/p/google-code-prettify
Apache License 2.0
1 stars 0 forks source link

html not working #350

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

My html code inside the pre tag is still picking up html and not displaying the 
code.
Please have a look at http://jsfiddle.net/Banzay/kwo52m0d/ 

Youssef

Original issue reported on code.google.com by youssefs...@gmail.com on 1 Sep 2014 at 4:47

GoogleCodeExporter commented 9 years ago
There is no content in the <pre> tag, just a comment.  If what you want to 
display is an HTML comment, then escape HTML special characters (like '<' and 
'&') using HTML entities (like '<' and '&').

Original comment by mikesamuel@gmail.com on 1 Sep 2014 at 7:55

GoogleCodeExporter commented 9 years ago
Thanks, this worked 

Original comment by youssefs...@gmail.com on 3 Sep 2014 at 9:02