Permalink
Browse files

Merge pull request #1 from dmayer/master

fixed an attempted join on a string

Liquid Exception: undefined method `join' for #<String:0x000000026d5f68> in index.markdown
[...]/plugins/citation.rb:31:in `render'
  • Loading branch information...
anarchivist committed Jul 10, 2013
2 parents d4a7409 + be391e8 commit 082f721d2cb78833fb0e57ac240ab08398877cfd
Showing with 1 addition and 1 deletion.
  1. +1 −1 citation.rb
View
@@ -28,7 +28,7 @@ def parse(tokens)
def render(context)
# get the content of the {% bibtex %} block
- content = super.join
+ content = super
@config = context.registers[:site].config['citation'] || {}
@config['citation_style'] ||= 'apa'
@config['citation_locale'] ||= 'en'

0 comments on commit 082f721

Please sign in to comment.