c62a75a5f3
While keeping the compatibility for reportlab 2.5. Splitting the text node on line breaks '\n' leaded to orphans ending tags, like '</font>', which is regarded by reportlab 3.0 as a paragraph, and reportlab therefore surrounded these tags by <para> tags, which leaded to not syntax correct html like <para></font></para> To test this patch: - While having reportlab > 3.0 - Create a rml report containing (at least) '<font>\n</font>' - Then print the report. It must not crash (obviously) |
||
---|---|---|
.. | ||
html2html | ||
makohtml2html | ||
odt2odt | ||
rml2html | ||
rml2pdf | ||
rml2txt | ||
__init__.py | ||
render.py | ||
rml.py | ||
simple.py |