We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd1ba85 commit f105434Copy full SHA for f105434
demo/app/helpers/formatting_helper.rb
@@ -20,6 +20,7 @@ def initialize(content, view_context:, code_object: nil)
20
# as is, but you can override this method to provide custom rendering logic
21
# based on the specified markup format.
22
def html_markup_markdown(content)
23
+ return "" unless content
24
return "" unless content.strip.present?
25
26
output = Kramdown::Document.new(content, input: "GFM").to_html
0 commit comments