[pyviews] document the fact that content is not xml-escaped (closes #1382038) stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 11 Jan 2011 12:24:49 +0100
branchstable
changeset 6802 ff9059e144f9
parent 6801 33952695295b
child 6803 691dac4c6a05
[pyviews] document the fact that content is not xml-escaped (closes #1382038)
web/views/pyviews.py
--- a/web/views/pyviews.py	Tue Jan 11 12:20:39 2011 +0100
+++ b/web/views/pyviews.py	Tue Jan 11 12:24:49 2011 +0100
@@ -24,6 +24,10 @@
 
 
 class PyValTableView(View):
+    """display a list of list of values into an html table.
+
+    Take care, content is NOT xml-escaped.
+    """
     __regid__ = 'pyvaltable'
     __select__ = match_kwargs('pyvalue')
 
@@ -50,6 +54,10 @@
 
 
 class PyValListView(View):
+    """display a list of values into an html list.
+
+    Take care, content is NOT xml-escaped.
+    """
     __regid__ = 'pyvallist'
     __select__ = match_kwargs('pyvalue')