2

In this question on SO the author was asking a question with the following text:

between > and </ of any tag.

Those "greater then" and "less then" symbols are showing up only if you backtick them. Otherwise the output will be:

between > and of any tag.

It seems that the </ string without backticks is not being escaped.

6
  • 1
    Apparently I've already typed up an answer to this, so I'm going to stop typing here and just link to the question on Meta SE: Inequalities stripped as HTML tags
    – animuson StaffMod
    Apr 18, 2016 at 14:54
  • Yeap, that's the essentially the same bug (+1). I searched before creating, but apparently formed my query differently.
    – Uzbekjon
    Apr 18, 2016 at 15:04
  • BTW the accepted answer to the other question says that (real) HTML tags can never have a space between the < and the tag name. This isn't true.
    – Mr Lister
    Apr 18, 2016 at 17:27
  • Well, I guess someone asking a question on math.se.com would probably not care if real HTML can have a space or not :)
    – Uzbekjon
    Apr 18, 2016 at 17:39
  • @Uzbekjon Everybody posting to SE should have a minimal knowledge of how HTML works! Seriously. I see so many examples, e.g. people using < > for quotes, posting about how they press the <q> key, things like that, and then wondering why the <q> doesn't show up in the post. If they knew about HTML, and simply said the "q" key, that wouldn't happen.
    – Mr Lister
    Apr 19, 2016 at 6:11
  • I would agree if SE communities were limited to web development. But there are other communities such as Christianity, Travel, Biology, etc. We can't expect everybody to have a minimal knowledge of HTML. I agree, that would be great, but ...
    – Uzbekjon
    Apr 19, 2016 at 6:36

0

You must log in to answer this question.

Browse other questions tagged .