From c79836bc4f5194e7ad7789652610c7aaaa6baa28 Mon Sep 17 00:00:00 2001 From: Aaron Gustafson Date: Mon, 16 Nov 2015 14:00:55 -0500 Subject: [PATCH] Fixed bug causing non-removal of bogus wrapper Could have been an issue with Kramdown specifically, but the single quotes were being turned into double quotes, causing the regex not to match. --- plugins/raw.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/raw.rb b/plugins/raw.rb index e97c9459bba..a6852f30a1b 100644 --- a/plugins/raw.rb +++ b/plugins/raw.rb @@ -8,7 +8,7 @@ def self.safe_wrap(input) end # This must be applied after the def self.unwrap(input) - input.gsub /
(.+?)<\/notextile><\/div>/m do + input.gsub /
(.+?)<\/notextile><\/div>/m do $1 end end