changeset 453:2d277a3d9cec

core (simple_xhtml): fixed xhtml_generic call in xhtml_br
author Goffi <goffi@goffi.org>
date Wed, 01 Apr 2020 12:24:18 +0200
parents ee4913d35c55
children 65958c3c98cb
files cagou/core/simple_xhtml.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cagou/core/simple_xhtml.py	Tue Mar 31 09:56:12 2020 +0200
+++ b/cagou/core/simple_xhtml.py	Wed Apr 01 12:24:18 2020 +0200
@@ -365,7 +365,7 @@
     def xhtml_br(self, elem):
         label = self._getLabel()
         label.text+='\n'
-        self.xhtml_generic(style=False)
+        self.xhtml_generic(elem, style=False)
 
     def xhtml_em(self, elem):
         self.xhtml_generic(elem, markup='i')