lib/playbook/markdown/template_handler.rb in playbook_ui-9.10.0 vs lib/playbook/markdown/template_handler.rb in playbook_ui-9.11.0

- old
+ new

@@ -1,7 +1,9 @@ -require 'redcarpet' +# frozen_string_literal: true +require "redcarpet" + module Playbook module Markdown class HTMLWithPants < Redcarpet::Render::HTML include Redcarpet::Render::SmartyPants end @@ -18,10 +20,10 @@ def render(template) markdown.render(template).html_safe end - private + private def md_options @md_options ||= { autolink: true, no_intra_emphasis: true,