You are reading a single comment by @Velocio and its replies. Click here to read the full conversation.
  • No, I'd failed to hit the reply button but was still rambling at motter and the inline code snippets markdown.

    Yes, I know the issue. Unfortunately the fix is hard. To fix it, instead of looking through a comment for what looks like a hashtag, we'd have to contextualise where we look. And it's not even as simple as "not within a code block", because you could nest this stuff.

    We have the same problem with unbalanced HTML (invalidly nested elements), in that we'd need more context than we currently have.

    The fix involves created a balanced tree out of the comment HTML instead of parsing it like an input stream of tokens. It's DOM vs SAX... we use a more SAX way.

    That's going to be a lot of careful work... and the edge cases are so few and far between that people will rightly ask us to fix other things first.

    The RGB workaround should see you fine until we get to it.

About

Avatar for Velocio @Velocio started