diff --git a/lib/rdoc/markdown.rb b/lib/rdoc/markdown.rb index c68aa07b64..615e207857 100644 --- a/lib/rdoc/markdown.rb +++ b/lib/rdoc/markdown.rb @@ -16296,7 +16296,7 @@ class RDoc::Markdown self.pos = _save break end - @result = begin; + @result = begin; text.start_with?(":") ? (text.end_with?(":") ? :center : :left) : (text.end_with?(":") ? :right : nil)