HTML rendering in preview does not match published comments

When checking a comment in Preview, the text looks different to when it is published. When editing a comment, the Preview looks different to both the original preview and the published comment.

e.g. https://www.inaturalist.org/journal/brewbooks/34060-when-do-western-skunk-cabbage-flower#comment-4458447

When typing the comment (or editing it), it looks like this:
comment1

When previewing it, it looks like this:


You can see the code bits are in red monospace

When published, it looks like this:
comment3
No indication of the code tag at all.

If I edit the comment, and preview, the preview looks different to the original preview, and the code is black monospace:

Saving an edited comment (even if no edit was made) does not make the code show in monospace (red or black).

I do like the red monospace - it highlights the code bits nicely.

2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.