Skip to content

Commit 1368aa2

Browse files
committed
Permit ol tags on index page descriptions. Fixes #814
1 parent ad8d8f1 commit 1368aa2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/helpers/application_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def render_markdown(markdown_text, options = {}, renderer_options = {})
127127
end
128128

129129
def render_sanitized_markdown(markdown_text, options = {}, renderer_options = {})
130-
sanitize(render_markdown(markdown_text, options, renderer_options), tags: %w(strong em b i p br ul li))
130+
sanitize(render_markdown(markdown_text, options, renderer_options), tags: %w(strong em b i p br ul ol li))
131131
end
132132

133133
# From twitter-bootstrap-rails gem for less:

0 commit comments

Comments
 (0)