diff --git a/lib/creole/parser.rb b/lib/creole/parser.rb index 9281c2b..0593b3b 100644 --- a/lib/creole/parser.rb +++ b/lib/creole/parser.rb @@ -57,6 +57,7 @@ def no_escape?; @no_escape; end def initialize(text, options = {}) @allowed_schemes = %w(http https ftp ftps) @text = text + @extensions = @no_escape = nil options.each_pair {|k,v| send("#{k}=", v) } end