app/helpers/change_log/application_helper.rb in change-log-0.0.1 vs app/helpers/change_log/application_helper.rb in change-log-0.0.2
- old
+ new
@@ -1,8 +1,8 @@
require 'kramdown'
module ChangeLog
module ApplicationHelper
def md(string)
- Kramdown::Document.new(string).to_html.html_safe
+ Kramdown::Document.new(string, parse_block_html: true).to_html.html_safe
end
end
end