lib/rabbit/element/block.rb in rabbit-2.0.2 vs lib/rabbit/element/block.rb in rabbit-2.0.3

- old
+ new

@@ -10,14 +10,14 @@ class BlockQuote include ContainerElement include BlockElement include BlockHorizontalCentering - attr_reader :cite, :title + attr_reader :cite, :title, :avatar def initialize(elems=[], prop={}) super(elems) - %w(cite title).each do |name| + %w(cite title avatar).each do |name| instance_variable_set("@#{name}", prop[name]) end end def to_html(generator)