rdiscount icon indicating copy to clipboard operation
rdiscount copied to clipboard

filter_styles not working

Open veesahni opened this issue 4 years ago • 0 comments

Looks like issue #38 is back.

Given the following:

content = "Hello *github*
<style type='text/css' media='screen'>
p{margin:5px}
</style>
"
puts RDiscount.new(content).to_html

Expected output (since filter_styles was not enabled):

<p>Hello <em>github</em></p>
<style type='text/css' media='screen'>
p{margin:5px}
</style>

Actual output (with RDiscount 2.2.0.2):

<p>Hello <em>github</em></p>

veesahni avatar Sep 23 '21 18:09 veesahni