mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-31 15:29:08 +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
|
||||
|
||||
def header(text, _header_level)
|
||||
paragraph text
|
||||
"<p>#{text}</p>"
|
||||
end
|
||||
|
||||
def raw_html(raw_html)
|
||||
|
|
Loading…
Reference in a new issue