diff --git a/lib/chatwoot_markdown_renderer.rb b/lib/chatwoot_markdown_renderer.rb index d24485bf8..8fb657d98 100644 --- a/lib/chatwoot_markdown_renderer.rb +++ b/lib/chatwoot_markdown_renderer.rb @@ -18,7 +18,7 @@ class ChatwootMarkdownRenderer end end - @content = doc.to_commonmark + @content = doc.to_commonmark.strip end def render_article