Closed omab closed 6 years ago
Can you add what the proper/expected output should be?
The expected output would be:
>>> print safehtml(htmlregion(u'<span>pre text</span><tr><td>hello world</td></tr>'))
u'pre text<table><tr><td>hello world</td></tr></table>'
on it
safehtml
should ensure that tabular content is safe to display enforcing<table>
tags where needed, take as an example:That output will break any table layout where the content is rendered.