mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-24 15:54:00 +08:00
Fix markup
This commit is contained in:
parent
ac545a7775
commit
9fe6e7b538
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ class Asset < ApplicationRecord
|
|||
mjs_doc.remove_namespaces!
|
||||
text_data = mjs_doc.search("//Field[@name='text']").collect(&:text).join(' ')
|
||||
else
|
||||
# Start Tika as a server
|
||||
# Start Tika as a server
|
||||
Yomu.server(:text) if !ENV['NO_TIKA_SERVER'] && Yomu.class_variable_get(:@@server_pid).nil?
|
||||
blob.open do |tmp_file|
|
||||
text_data = Yomu.new(tmp_file.path).text
|
||||
|
|
Loading…
Reference in a new issue