You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the following code with the latest git version of pygments on the attached input results of in 100% CPU consumption for an arbitrary long time:
Fixed, thanks for the report! Short summery for those who are curious as to what is going on: This is not a bug in the Xml lexer, but the XmlErb lexer which kicks in (the Xml lexer has no problem with the file), and that in turn uses Ruby for embedded template code, and the Ruby lexer failed on single-quote strings with lots of backslashes :)
When running the following code with the latest git version of pygments on the attached input results of in 100% CPU consumption for an arbitrary long time:
pygments.txt
The text was updated successfully, but these errors were encountered: