Minor Cleanups

Remove a no-longer-needed function.
' -> &39;
Fix regexp for tag chunk.
This commit is contained in:
Jacques Distler 2008-05-22 02:46:45 -05:00
parent f6508de6dd
commit ca1e8de89c
6 changed files with 6 additions and 14 deletions

View file

@ -24,7 +24,7 @@ module Literal
# A literal chunk that protects HTML tags from wiki rendering.
class Tags < AbstractLiteral
TAGS_PATTERN = Regexp.new('<[a-zA-Z]+[^>]*?>', Regexp::MULTILINE)
TAGS_PATTERN = Regexp.new('<[-a-zA-Z]+[^>]*?>', Regexp::MULTILINE)
def self.pattern() TAGS_PATTERN end
end
end