diff MoinMoin/formatter/text_html.py @ 3321:8a54a5512c86

don't use <br/> but rather <br> as recommended by the HTML standard and w3c
author Johannes Berg <johannes AT sipsolutions DOT net>
date Wed, 19 Mar 2008 03:29:43 +0100
parents e06e15e90ba7
children cb22f4c4a0fd
line wrap: on
line diff
--- a/MoinMoin/formatter/text_html.py	Wed Mar 19 03:13:15 2008 +0100
+++ b/MoinMoin/formatter/text_html.py	Wed Mar 19 03:29:43 2008 +0100
@@ -1004,7 +1004,7 @@
         """
         if self._in_code_area:
             preformatted = 1
-        return ['\n', '<br />\n'][not preformatted] + self._indent_spaces()
+        return ['\n', '<br>\n'][not preformatted] + self._indent_spaces()
 
     def paragraph(self, on, **kw):
         """Creates a paragraph with a <p> element.