diff options
author | Matthäus G. Chajdas <dev@anteru.net> | 2020-07-31 13:07:35 +0200 |
---|---|---|
committer | Matthäus G. Chajdas <dev@anteru.net> | 2020-07-31 13:07:35 +0200 |
commit | b6d1d68de705e1cfc28a4188f792b29c545bf7ed (patch) | |
tree | fd06a33cd189e041ae28a4aaeb796af7ea2b3ebb /pygments/lexers/prolog.py | |
parent | eaab40379c0c55e5549f67097701abb99123a6e0 (diff) | |
download | pygments-git-b6d1d68de705e1cfc28a4188f792b29c545bf7ed.tar.gz |
Add test case for Angular2 lexer bug.
This test triggers a bug, in which a spurious Token.Text('') appears at
the end. This seems to stem from the ('[^<&]+', Text), rule in the HTML
lexer which matches the \n that gets automatically added during lexing.
Diffstat (limited to 'pygments/lexers/prolog.py')
0 files changed, 0 insertions, 0 deletions