Skip to content

Commit c79836b

Browse files
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.
1 parent d684a65 commit c79836b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/raw.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def self.safe_wrap(input)
88
end
99
# This must be applied after the
1010
def self.unwrap(input)
11-
input.gsub /<div class='bogus-wrapper'><notextile>(.+?)<\/notextile><\/div>/m do
11+
input.gsub /<div class=['"]bogus-wrapper['"]><notextile>(.+?)<\/notextile><\/div>/m do
1212
$1
1313
end
1414
end

0 commit comments

Comments
 (0)