Skip to content

Commit

Permalink
Add ul/ol/li to allowed comment tags. Closes #998
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.typosphere.org/typo/trunk@1129 820eb932-12ee-0310-9ca8-eeb645f39767
  • Loading branch information
scott committed Jul 13, 2006
1 parent 18cfab2 commit c0c232b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/comment.rb
Expand Up @@ -50,7 +50,7 @@ def check_article_is_open_to_comments
end

def body_html_postprocess(value, controller)
sanitize(controller.send(:auto_link, value),'a href, b, br, i, p, em, strong, pre, code')
sanitize(controller.send(:auto_link, value),'a href, b, br, i, p, em, strong, pre, code, ol, ul, li')
end

def default_text_filter_config_key
Expand Down

0 comments on commit c0c232b

Please sign in to comment.