Permalink
Browse files

Fix intra-emphasis for redcarpet

Closes #557
  • Loading branch information...
lsegal committed Jun 16, 2012
1 parent ed88494 commit 2493419dd1492635d765916016b8670e67d3a27a
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/yard/templates/helpers/html_helper.rb
@@ -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

0 comments on commit 2493419

Please sign in to comment.