Skip to content

Commit

Permalink
Update messages_helper.rb (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
olimart authored Mar 28, 2024
1 parent bc6fc37 commit 51571b6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/helpers/messages_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

module MessagesHelper
def format(text)
safe_html = ::MarkdownRenderer.render(
::MarkdownRenderer.render(
text,
block_code: block_code
).html_safe

return safe_html
end

private
Expand Down

0 comments on commit 51571b6

Please sign in to comment.