mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-06 20:56:42 +08:00
Fix handling of custom repository text on import for too many characters [SCI-10884]
This commit is contained in:
parent
544da61038
commit
e46774cc3d
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class RepositoryTextValue < ApplicationRecord
|
|||
def self.import_from_text(text, attributes, _options = {})
|
||||
return nil if text.blank?
|
||||
|
||||
new(attributes.merge(data: text.truncate(Constants::TEXT_MAX_LENGTH)))
|
||||
new(attributes.merge(data: text))
|
||||
end
|
||||
|
||||
alias export_formatted formatted
|
||||
|
|
Loading…
Reference in a new issue