Open madhurakhal opened 10 years ago
Concur - this is an issue I am having as well.
Example:
_foo bar baz _great* baz bar foo scott bar foo baz*
Same issue here:
carpet = Redcarpet::Markdown.new(Redcarpet::Render::HTML.new)
carpet.render('*test **test** test*')
=> "<p><em>test *</em>test** test*</p>\n"
Weasyl/misaka@90aad1b and Weasyl/misaka@548d921 (minus the change to find_emph_char
that Redcarpet seems to have applied already) might fix this.
+1
I am using this awesome gem in my current work but run into the problem while nesting bold text inside italic.
Here is the scenario.
This is the code I use:
This is the code produced by the gem:
I would except the following output:
Please see the feedback by clicking on the edit button. Thanks Madhu Rakhal Magar