diff MoinMoin/formatter/text_html.py @ 5298:d57b74bc4cbd

formatter: text_html comment moved to docstring
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Fri, 20 Nov 2009 09:49:05 +0100
parents 44dca95e51ab
children b86af2e26465
line wrap: on
line diff
--- a/MoinMoin/formatter/text_html.py	Fri Nov 20 09:28:49 2009 +0100
+++ b/MoinMoin/formatter/text_html.py	Fri Nov 20 09:49:05 2009 +0100
@@ -872,6 +872,8 @@
 
         Call once with on=1 to start the region, and a second time
         with on=0 to end it.
+
+        the msg string is not escaped
         """
         _ = self.request.getText
         res = []
@@ -888,7 +890,6 @@
             if msg:
                 attr = {'class': 'codemsg'}
                 res.append(self._open('div', attr={'class': 'codemsg'}))
-                # the msg string is not escaped
                 res.append(msg)
                 res.append(self._close('div'))