Reputation: 16723
I have enclosed the HTML code in <pre>
and <code>
tags, but the code keeps getting changed to the following. How can I correct this?
[pre]
[code language="html"]
&amp;amp;amp;lt;!DOCTYPE html&amp;amp;amp;gt;
[/code]
[/pre]
Upvotes: 2
Views: 151
Reputation: 1072
Try plugin SyntaxHighlighter.
You can then write code like this:
[html]
/* Some HTML code */
[/html]
Upvotes: 2