Merge pull request #1095 from Retrospring/fix/flavored-markdown-header

Fix `NoMethodError` in `FlavoredMarkdown`
This commit is contained in:
Georg Gadinger 2023-02-19 18:30:55 +01:00 committed by GitHub
commit 61cd0776f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ class FlavoredMarkdown < Redcarpet::Render::HTML
end
def header(text, _header_level)
paragraph text
"<p>#{text}</p>"
end
def raw_html(raw_html)