Multiline <nowiki> tag

This commit is contained in:
Alexey Verkhovsky 2005-05-06 01:02:30 +00:00
parent f77cf37f8e
commit a14430a285
3 changed files with 12 additions and 2 deletions

View file

@ -15,7 +15,7 @@ require 'chunks/chunk'
# 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