feat: Adds backend support for rendering tables in articles (#9526)

This commit is contained in:
Sivin Varghese
2024-05-24 08:44:01 +05:30
committed by GitHub
parent eafd3ae44d
commit 7c5e67bf28
2 changed files with 37 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ class ChatwootMarkdownRenderer
def render_article
markdown_renderer = CustomMarkdownRenderer.new
doc = CommonMarker.render_doc(@content, :DEFAULT)
doc = CommonMarker.render_doc(@content, :DEFAULT, [:table])
html = markdown_renderer.render(doc)
render_as_html_safe(html)