Skip to content

Commit

Permalink
Fix intra-emphasis for redcarpet
Browse files Browse the repository at this point in the history
Closes #557
  • Loading branch information
lsegal committed Jun 16, 2012
1 parent ed88494 commit 2493419
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/yard/templates/helpers/html_helper.rb
Expand Up @@ -60,7 +60,8 @@ def html_markup_markdown(text)
if provider.to_s == 'RDiscount'
provider.new(text, :autolink).to_html
elsif provider.to_s == 'RedcarpetCompat'
provider.new(text, :gh_blockcode, :fenced_code, :autolink).to_html
provider.new(text, :no_intraemphasis, :gh_blockcode,
:fenced_code, :autolink).to_html
else
provider.new(text).to_html
end
Expand Down

0 comments on commit 2493419

Please sign in to comment.