lib/rouge/lexers/markdown.rb in rouge-3.1.1 vs lib/rouge/lexers/markdown.rb in rouge-3.2.0
- old
+ new
@@ -74,10 +74,10 @@
push :title
push :url
end
# links and images
- rule /(!?\[)(#{edot}+?)(\])/ do
+ rule /(!?\[)(#{edot}*?)(\])/ do
groups Punctuation, Name::Variable, Punctuation
push :link
end
rule /[*][*]#{edot}*?[*][*]/, Generic::Strong