lib/onebox/engine/pdf_onebox.rb in onebox-1.8.22 vs lib/onebox/engine/pdf_onebox.rb in onebox-1.8.23
- old
+ new
@@ -8,10 +8,9 @@
always_https
private
def data
- html_entities = HTMLEntities.new
pdf_info = get_pdf_info
raise "Unable to read pdf file: #{@url}" if pdf_info.nil?
result = { link: link,
title: pdf_info[:name],