lib/bible_gateway.rb in bible_gateway-0.0.3 vs lib/bible_gateway.rb in bible_gateway-0.0.4
- old
+ new
@@ -63,10 +63,10 @@
segment.search('sup.crossreference').remove # remove cross reference links
segment.search('sup.footnote').remove # remove footnote links
segment.search("div.crossrefs").remove # remove cross references
segment.search("div.footnotes").remove # remove footnotes
segment.search("span.text").each do |span|
- text = span.content
+ text = span.inner_html
span.swap text
end
segment.search('sup.versenum').each do |sup|
text = sup.content