Merge f49ebf634f into 3bf8b2472d
This commit is contained in:
commit
9a42b0a090
7 changed files with 61 additions and 1 deletions
|
|
@ -260,7 +260,7 @@ module ApplicationHelper
|
|||
space_after_headers: true,
|
||||
no_intra_emphasis: true
|
||||
}
|
||||
markdown = Redcarpet::Markdown.new(Redcarpet::Render::HTML, options)
|
||||
markdown = Redcarpet::Markdown.new(Redcarpet::Render::HTML.new(escape_html: true), options)
|
||||
markdown.render(text).html_safe
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue