lib/faml/compiler.rb in faml-0.7.2 vs lib/faml/compiler.rb in faml-0.7.3
- old
+ new
@@ -12,11 +12,11 @@
module Faml
class Compiler < Temple::Parser
DEFAULT_AUTO_CLOSE_TAGS = %w[
area base basefont br col command embed frame hr img input isindex keygen
link menuitem meta param source track wbr
- ]
- DEFAULT_PRESERVE_TAGS = %w[pre textarea code]
+ ].freeze
+ DEFAULT_PRESERVE_TAGS = %w[pre textarea code].freeze
define_options(
autoclose: DEFAULT_AUTO_CLOSE_TAGS,
format: :html,
preserve: DEFAULT_PRESERVE_TAGS,