Skip to content

Commit

Permalink
pass :strict to RDiscount
Browse files Browse the repository at this point in the history
Gives up the ability to use particular formatting inside of words in
order to prevent turning everything into a list that shouldn't be,
like a single "K." comment.

Closes lobsters#217
  • Loading branch information
jcs committed Aug 12, 2015
1 parent 9c40023 commit cbf1402
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extras/markdowner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ def self.to_html(text, opts = {})
return ""
end

args = [ :smart, :autolink, :safelink, :filter_styles, :filter_html ]
args = [ :smart, :autolink, :safelink, :filter_styles, :filter_html,
:strict ]
if !opts[:allow_images]
args.push :no_image
end
Expand Down

0 comments on commit cbf1402

Please sign in to comment.