Mercurial > public > sg101
changeset 864:928b97ec55a7
Add support for hr tag in comments & news posts.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 03 Dec 2014 19:08:12 -0600 (2014-12-04) |
parents | e4f8d87c3d30 |
children | 08bae2b1d2d1 21946dc3662d |
files | core/html.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/core/html.py Mon Dec 01 18:36:27 2014 -0600 +++ b/core/html.py Wed Dec 03 19:08:12 2014 -0600 @@ -10,7 +10,7 @@ 'comments': ( [ 'a', 'b', 'blockquote', 'br', 'code', 'del', 'em', - 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', + 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'li', 'ol', 'p', 'pre', 'strong', 'ul', ], { @@ -23,7 +23,7 @@ [ 'a', 'b', 'blockquote', 'br', 'caption', 'center', 'code', 'col', 'colgroup', 'dd', 'del', 'div', 'dl', 'dt', 'em', - 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', + 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'ins', 'li', 'ol', 'p', 'pre', 'small', 'strike', 'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'tt', 'u', 'ul',