How to display HTML markup code in a Blogger or other blog post.
If you are writing articles about programming there will come a point where you need to be able to display HTML code as part of a blog post. If you have tried this before you will find that the code is not displayed as text, but run as part of the web page so <b>word</b> becomes word.
To stop this happening you need to convert the HTML entities to their equivalents:
'&' (ampersand) needs changed to '&'
'"' (double quote) needs changed to '"'
''' (single quote) needs changed to '''
'<' (less than) needs changed to '<'
'>' (greater than) needs changed to '>'
I have made a tool which does the HTML entity conversion for you.