Possible bug rendering less than character

Welcome Forums Web Site Feedback & Assistance Possible bug rendering less than character

This topic contains 1 reply, has 2 voices, and was last updated by

3 months ago.

  • Author
  • #162195

    Topics: 2
    Replies: 54
    Points: 278
    Helping Hand
    Rank: Contributor

    There seems to be an issue with how the forum displays the less than character (< ) in proximity to certain other characters such as equal to (=). In particular, when attempting to write this regex string:
    it was reproduced as

    (?< =From: ).*$

    Which, of course, didn't work properly when the person I was talking to tried to use it.

    I think this is happening because the text entry system converts the keyboard '< ' character into its HTML escape. The escape sequence includes a trailing space which shouldn't actually be rendered. This appears to happen whether or not the characters are inside the HTML pre tags. For testing: <= >=
    (?< =ABC)

    < =
    (?< =ABC)

    < = >=
    (?< =ABC) [/pre] https://gist.github.com/grokk-it/afa28ab8891c0d95139a564e8f8b93c6

  • js

    Topics: 24
    Replies: 679
    Points: 1,633
    Helping Hand
    Rank: Community Hero

    Yep, that's why you can't post xml here.

The topic ‘Possible bug rendering less than character’ is closed to new replies.