<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pygments-git.git/tests/test_template.py, branch bug/angular-html</title>
<subtitle>github.com: pygments/pygments.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/'/>
<entry>
<title>Skip empty tokens in some cases.</title>
<updated>2020-09-08T18:31:17+00:00</updated>
<author>
<name>Matthäus G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2020-09-08T18:31:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=e09d4e0cf23d7c6069ddc690942ceb4cd23fd556'/>
<id>e09d4e0cf23d7c6069ddc690942ceb4cd23fd556</id>
<content type='text'>
This fixes an empty token appearing in the Angular lexer (and
apparently also in the MSDOS lexer.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes an empty token appearing in the Angular lexer (and
apparently also in the MSDOS lexer.)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test case for Angular2 lexer bug.</title>
<updated>2020-07-31T11:07:35+00:00</updated>
<author>
<name>Matthäus G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2020-07-31T11:07:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=b6d1d68de705e1cfc28a4188f792b29c545bf7ed'/>
<id>b6d1d68de705e1cfc28a4188f792b29c545bf7ed</id>
<content type='text'>
This test triggers a bug, in which a spurious Token.Text('') appears at
the end. This seems to stem from the ('[^&lt;&amp;]+', Text), rule in the HTML
lexer which matches the \n that gets automatically added during lexing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This test triggers a bug, in which a spurious Token.Text('') appears at
the end. This seems to stem from the ('[^&lt;&amp;]+', Text), rule in the HTML
lexer which matches the \n that gets automatically added during lexing.
</pre>
</div>
</content>
</entry>
</feed>
