lib/csl/node.rb in csl-1.2.1 vs lib/csl/node.rb in csl-1.2.2

- old
+ new

@@ -431,9 +431,14 @@ !value.nil? && filter.include?(name) ? [name, value.to_s] : nil }.compact] end + # The node's formatting options. If the node's parent responds + # to `inheritable_formatting_options`, these will be included + # in the result. This makes it easy for nodes to push formatting + # options to their child nodes. + # # @return [Hash] the node's formatting options def formatting_options options = attributes_for Schema.attr(:formatting) if !root? && parent.respond_to?(:inheritable_formatting_options)