pass :strict to RDiscount
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 #217
This commit is contained in:
parent
9c4002323d
commit
cbf14021ac
|
@ -7,7 +7,8 @@ class Markdowner
|
||||||
return ""
|
return ""
|
||||||
end
|
end
|
||||||
|
|
||||||
args = [ :smart, :autolink, :safelink, :filter_styles, :filter_html ]
|
args = [ :smart, :autolink, :safelink, :filter_styles, :filter_html,
|
||||||
|
:strict ]
|
||||||
if !opts[:allow_images]
|
if !opts[:allow_images]
|
||||||
args.push :no_image
|
args.push :no_image
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue