fix links at end of paragraph
This commit is contained in:
parent
e9a5bcb890
commit
7461719e23
1 changed files with 1 additions and 1 deletions
|
@ -392,8 +392,8 @@ def sanitize_html(html, tags=None, global_attributes=[]):
|
|||
else:
|
||||
parts[i] = escape_html(decode_html(part))
|
||||
html = ''.join(parts)
|
||||
html = html.replace('\n\n', '<br/><br/>')
|
||||
html = add_links(html)
|
||||
html = html.replace('\n\n', '<br/><br/>')
|
||||
return sanitize_fragment(html)
|
||||
|
||||
def split_tags(string):
|
||||
|
|
Loading…
Reference in a new issue