Closed mojavelinux closed 2 years ago
The result may still not be what the user expects. But at least it doesn't cause Rouge to fail.
I have to admit, I don't understand why there is a special case being made for backslash when splitting the lines. There aren't any tests for that case, and it doesn't seem to interpret it as a line continuation. As far as I can see, it's unnecessary character matching.
Thanks @mojavelinux. Merged 🚀
Was able to bissect an issue we have since rouge 3.28.0 with console lexer and seems to be related to this change. More info: https://github.com/docker/docker.github.io/pull/14825#issue-1247204553
resolves #1602