Skip to content

Commit

Permalink
feat: Adds backend support for rending table in article
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsivin committed May 23, 2024
1 parent be97c68 commit b7bcbd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chatwoot_markdown_renderer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def render_message

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)
Expand Down

0 comments on commit b7bcbd8

Please sign in to comment.