4

This answer renders as such when editing:

Answer edited and HTML tag appears in preview

However, when submitted, the tag does not render (or appear in the http response):

Answer without any HTML tag

I am not sure where's the appropriate place to file bug reports, but either:

  1. the final post should have the tag in it
  2. the tag should be stripped from the preview as well
3
  • 1
    I've escaped the < and > symbols so it renders correctly now. Though I do agree with you that it would be preferable that the preview matched the actual final rendering.
    – Henry Ecker Mod
    Apr 20, 2022 at 3:37
  • 1
    Also a weird behaviour the revision history shows that it has always been rendered and that even though I added 2 characters there is no visible diff.
    – Henry Ecker Mod
    Apr 20, 2022 at 3:39
  • Seems to be an oddity in the preview when there are "invalid" characters in the tag (the colon) which causes the preview not to strip it properly. But this is already fixed with the new Stacks editor which auto-escapes the angled brackets in this case (you can test it in answers here on Meta).
    – animuson StaffMod
    Apr 20, 2022 at 5:54

0

You must log in to answer this question.

Browse other questions tagged .