It's not longer required for template designer to mark a markdown filter output as safe.
This commit is contained in:
parent
ffba32baed
commit
70488d23de
1 changed files with 3 additions and 1 deletions
|
|
@ -829,9 +829,11 @@ class Renderer(object):
|
|||
return result.replace('\n\n', '<text:p text:style-name="Standard"/>')
|
||||
|
||||
|
||||
return ''.join(node_as_str for node_as_str in map(node_to_string,
|
||||
ODTText = ''.join(node_as_str for node_as_str in map(node_to_string,
|
||||
xml_object.getElementsByTagName('html')[0].childNodes))
|
||||
|
||||
return Markup(ODTText)
|
||||
|
||||
def image_filter(self, value, *args, **kwargs):
|
||||
"""Store value into template_images and return the key name where this
|
||||
method stored it. The value returned it later used to load the image
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue