html: add tags.raw pseudo-tag for raw HTML processing
authorTero Marttila <terom@fixme.fi>
Mon, 10 Jan 2011 17:48:58 +0200
changeset 50 c3ae4c448248
parent 49 8bc64ef57ee0
child 51 3e9a8fb73083
html: add tags.raw pseudo-tag for raw HTML processing
svv/html.py
--- a/svv/html.py	Mon Jan 10 17:05:01 2011 +0200
+++ b/svv/html.py	Mon Jan 10 17:48:58 2011 +0200
@@ -398,7 +398,13 @@
 class TagFactory (object) :
     """
         Build Tags with names give as attribute names
+
+        >>> str(TagFactory().raw("><")
+        '><'
     """
+    
+    # raw HTML
+    raw = Text
 
     def __getattr__ (self, name) :
         """