Skip to content

Commit

Permalink
allow to render script tags as raw html
Browse files Browse the repository at this point in the history
  • Loading branch information
fliiiix committed Aug 28, 2023
1 parent 8d0135f commit bf8b6a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serious/lib/serious/commonmarker_formater.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

class StupidFormatter::CommonMarker < StupidFormatter::AbstractFormatter
def result
Commonmarker.to_html(input, options:{render: {unsafe:true}})
Commonmarker.to_html(input, options:{ extension: { tagfilter: false }, render: {unsafe:true}})
end
end

0 comments on commit bf8b6a9

Please sign in to comment.