Mercurial > moin > 1.9
changeset 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 | 16fe48d7e586 |
children | dd519c814149 |
files | MoinMoin/formatter/text_html.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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.