diff genshi/filters/tests/html.py @ 839:85a61d0bd67b stable-0.5.x

Ported [1046:1047] to 0.5.x branch.
author cmlenz
date Tue, 17 Mar 2009 17:20:04 +0000
parents 09a90feb9269
children b09f746b4881
line wrap: on
line diff
--- a/genshi/filters/tests/html.py
+++ b/genshi/filters/tests/html.py
@@ -317,6 +317,9 @@
         html = HTML('<a href="#">fo<br />o</a>')
         self.assertEquals(u'<a href="#">fo<br/>o</a>',
                           unicode(html | HTMLSanitizer()))
+        html = HTML('<a href="#with:colon">foo</a>')
+        self.assertEquals(u'<a href="#with:colon">foo</a>',
+                          unicode(html | HTMLSanitizer()))
 
     def test_sanitize_escape_text(self):
         html = HTML('<a href="#">fo&amp;</a>')
Copyright (C) 2012-2017 Edgewall Software