lib/csl/name_options.rb in csl-1.1.0 vs lib/csl/name_options.rb in csl-1.2.0
- old
+ new
@@ -31,10 +31,10 @@
options = node.send(inheritable_options).merge(options)
end
style ||= root
- if !root? && style.respond_to?(inheritable_options)
+ if !style.equal?(self) && style.respond_to?(inheritable_options)
options = style.send(inheritable_options).merge(options)
end
options
end