app/models/chunks/nowiki.rb in Pimki-1.0.092 vs app/models/chunks/nowiki.rb in Pimki-1.1.092
- old
+ new
@@ -17,11 +17,11 @@
def self.pattern() Regexp.new('<nowiki>(.*?)</nowiki>') end
attr_reader :plain_text
- def initialize(match_data)
- super(match_data)
+ def initialize(match_data, revision)
+ super(match_data, revision)
@plain_text = match_data[1]
end
# The nowiki content is not unmasked. This means the chunk will be reverted
# using the plain text.