app/helpers/lines/application_helper.rb in lines-engine-0.1.21 vs app/helpers/lines/application_helper.rb in lines-engine-0.1.22
- old
+ new
@@ -15,10 +15,10 @@
end
end
# Returns formatted and highlighted code fragments
def markdown(text)
- renderer = HTMLwithPygments.new(hard_wrap: true, filter_html: true, with_toc_data: false)
+ renderer = HTMLwithPygments.new(hard_wrap: true, filter_html: false, with_toc_data: false)
options = {
autolink: true,
no_intra_emphasis: true,
fenced_code_blocks: true,
lax_html_blocks: true,