Sometimes I write answers within the <pre>...</pre>
tag to get more control over formatting the answers. Usually, I do this with the code-snippets, which may be required some emphasis.
In the below snippet, I want to emphasize the expression str(getattr(self, field.name))
and thus I wrote the answer as below,
<pre><code>class HelperClass: def get_fields(self): return [(field, <b>str(getattr(self, field.name))</b>) for field in self._meta.fields]</code></pre>
But, the bold formatting doesn't appear.
Note: I/We can see the formatted code block in the "edit/preview mode"
Is this a bug? Or was this feature removed in some release?
References: