This question already has an answer here:
- How do I format my code blocks? 6 answers
In this question, I noticed that the code I had pasted in a
<pre> (should I really be going through the manual labor to indent four lines) wasn't displaying crucial parts of the raw source.
They were angle bracket-delimited bits of Python error-code: to render
<class 'taggit.models.TaggedItem'> I had to escape the opening bracket and give
<class 'taggit.models.TaggedItem'> — take a wild guess what I did to display the latter.
My browser, Chrome, originally saw an unrecognized
class tag, and like a good browser ignored it without display.
I know that limited HTML is permitted, but could angle brackets be escaped for code not on a whitelist of permitted HTML tags, including all tags that are not any form of valid HTML tags?