comparison cagou/core/simple_xhtml.py @ 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 efee0e0afb78
children 3c9ba4a694ef
comparison
equal deleted inserted replaced
452:ee4913d35c55 453:2d277a3d9cec
363 # method handling XHTML elements 363 # method handling XHTML elements
364 364
365 def xhtml_br(self, elem): 365 def xhtml_br(self, elem):
366 label = self._getLabel() 366 label = self._getLabel()
367 label.text+='\n' 367 label.text+='\n'
368 self.xhtml_generic(style=False) 368 self.xhtml_generic(elem, style=False)
369 369
370 def xhtml_em(self, elem): 370 def xhtml_em(self, elem):
371 self.xhtml_generic(elem, markup='i') 371 self.xhtml_generic(elem, markup='i')
372 372
373 def xhtml_img(self, elem): 373 def xhtml_img(self, elem):