lib/kramdown/options.rb in kramdown-2.3.1 vs lib/kramdown/options.rb in kramdown-2.3.2
- old
+ new
@@ -594,10 +594,12 @@
EOF
define(:forbidden_inline_options, Object, %w[template], <<~EOF) do |val|
Defines the options that may not be set using the {::options} extension
- Default: template
+ The value needs to be an array of option names.
+
+ Default: [template]
Used by: HTML converter
EOF
val.map! {|item| item.kind_of?(String) ? str_to_sym(item) : item }
simple_array_validator(val, :forbidden_inline_options)
end