Skip to content

Commit

Permalink
Fixed bug causing non-removal of bogus wrapper
Browse files Browse the repository at this point in the history
Could have been an issue with Kramdown specifically, but the single quotes were being turned into double quotes, causing the regex not to match.
  • Loading branch information
aarongustafson committed Nov 16, 2015
1 parent d684a65 commit c79836b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/raw.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def self.safe_wrap(input)
end end
# This must be applied after the # This must be applied after the
def self.unwrap(input) def self.unwrap(input)
input.gsub /<div class='bogus-wrapper'><notextile>(.+?)<\/notextile><\/div>/m do input.gsub /<div class=['"]bogus-wrapper['"]><notextile>(.+?)<\/notextile><\/div>/m do
$1 $1
end end
end end
Expand Down

0 comments on commit c79836b

Please sign in to comment.