app/models/chunks/nowiki.rb in instiki-0.10.1 vs app/models/chunks/nowiki.rb in instiki-0.10.2
- old
+ new
@@ -13,10 +13,10 @@
#
# Author: Mark Reid <mark at threewordslong dot com>
# Created: 8th June 2004
class NoWiki < Chunk::Abstract
- NOWIKI_PATTERN = Regexp.new('<nowiki>(.*?)</nowiki>')
+ NOWIKI_PATTERN = Regexp.new('<nowiki>(.*?)</nowiki>', Regexp::MULTILINE)
def self.pattern() NOWIKI_PATTERN end
attr_reader :plain_text
def initialize(match_data, content)