lib/govspeak.rb in govspeak-6.5.5 vs lib/govspeak.rb in govspeak-6.5.6
- old
+ new
@@ -55,10 +55,12 @@
@images = options.delete(:images) || []
@attachments = Array.wrap(options.delete(:attachments))
@links = Array.wrap(options.delete(:links))
@contacts = Array.wrap(options.delete(:contacts))
@locale = options.fetch(:locale, "en")
- @options = { input: PARSER_CLASS_NAME, sanitize: true }.merge(options)
+ @options = { input: PARSER_CLASS_NAME,
+ sanitize: true,
+ syntax_highlighter: nil }.merge(options)
@options[:entity_output] = :symbolic
end
def to_html
@to_html ||= begin