Commit 31f007f7 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix skipping of some elements in makrdown

parent 36b2f2e3
...@@ -115,8 +115,7 @@ module Gitlab ...@@ -115,8 +115,7 @@ module Gitlab
suffix = $~[:suffix] suffix = $~[:suffix]
type = TYPES.select{|t| !$~[t].nil?}.first type = TYPES.select{|t| !$~[t].nil?}.first
next unless type if type
identifier = $~[type] identifier = $~[type]
# Avoid HTML entities # Avoid HTML entities
...@@ -127,6 +126,9 @@ module Gitlab ...@@ -127,6 +126,9 @@ module Gitlab
else else
match match
end end
else
match
end
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment