feat: Updated the design of the category page (#8165)

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Sivin Varghese
2023-11-09 07:33:16 +05:30
committed by GitHub
parent 268e26625b
commit 950f085e80
8 changed files with 77 additions and 44 deletions

View File

@@ -18,6 +18,10 @@ class ChatwootMarkdownRenderer
render_as_html_safe(html)
end
def render_markdown_to_plain_text
CommonMarker.render_doc(@content, :DEFAULT).to_plaintext
end
private
def render_as_html_safe(html)