lib/jekyll_quote.rb in jekyll_quote-0.1.0 vs lib/jekyll_quote.rb in jekyll_quote-0.3.0
- old
+ new
@@ -36,11 +36,11 @@
"<a href='#{@url}' rel='nofollow' target='_blank'>#{@cite}</a>"
else
"#{@cite}\n"
end
tag = @break ? 'div' : 'span'
- attribution = "<#{tag} style='font-style:normal;'> – #{preposition} #{attribution}</#{tag}>\n"
- text = "<div>#{text}</div>" if @break
+ attribution = "<#{tag} class='quoteAttribution'> – #{preposition} #{attribution}</#{tag}>\n"
+ text = "<div class='quoteText'>#{text}</div>" if @break
end
<<~END_HERE
<div class='quote'>
#{text}#{attribution}
</div>