Permalink
Browse files

Merge pull request #1 from rhettbarber/patch-1

Update lib/wikipedia/page.rb
  • Loading branch information...
kenpratt committed Nov 17, 2012
2 parents b0008cd + 39b8259 commit a7b02f2525dc02ded646baadcb49bdb6567c5aa0
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/wikipedia/page.rb
View
@@ -11,7 +11,7 @@ def page
end
def content
- page['revisions'].first.values.first if page['revisions']
+ page['revisions'].first.fetch('*') if page['revisions']
end
def sanitized_content

0 comments on commit a7b02f2

Please sign in to comment.