diff --git a/plugins/raw.rb b/plugins/raw.rb index 4b00262..36aa952 100644 --- a/plugins/raw.rb +++ b/plugins/raw.rb @@ -4,12 +4,12 @@ module TemplateWrapper # Wrap input with a
def safe_wrap(input) - "
#{input}
" + "
#{input}
" end # This must be applied after the def unwrap(input) - input.gsub /
(.+?)<\/notextile><\/div>/m do - $1 + input.gsub /([\s\S]*?)(.+?)([\s\S]*?)/m do + $2 end end end