mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-12 13:03:37 +01:00
Merge pull request #1095 from Retrospring/fix/flavored-markdown-header
Fix `NoMethodError` in `FlavoredMarkdown`
This commit is contained in:
commit
61cd0776f1
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class FlavoredMarkdown < Redcarpet::Render::HTML
|
||||||
end
|
end
|
||||||
|
|
||||||
def header(text, _header_level)
|
def header(text, _header_level)
|
||||||
paragraph text
|
"<p>#{text}</p>"
|
||||||
end
|
end
|
||||||
|
|
||||||
def raw_html(raw_html)
|
def raw_html(raw_html)
|
||||||
|
|
Loading…
Reference in a new issue