Skip to content

Commit

Permalink
utils: add <hr> to tag whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
unixwitch committed Jan 7, 2016
1 parent 2774b4a commit fe492e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wagtailmarkdown/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def render(text):
tags = [ 'p', 'div', 'span', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'tt', 'pre',
'em', 'strong', 'ul', 'li', 'dl', 'dd', 'dt', 'code', 'img', 'a',
'table', 'tr', 'th', 'td', 'tbody', 'caption', 'colgroup', 'thead',
'tfoot', 'blockquote', 'ol', ],
'tfoot', 'blockquote', 'ol', '<hr>', ],
attributes = {
'*': [ 'class', 'style', 'id', ],
'a': [ 'href', 'target', 'rel', ],
Expand Down

0 comments on commit fe492e0

Please sign in to comment.