mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-22 14:54:38 +08:00
Fix for items with newline
This commit is contained in:
parent
9e4ae525e6
commit
8d7f51edde
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class RepositoryChecklistValue < ApplicationRecord
|
|||
end
|
||||
|
||||
def export_formatted
|
||||
formatted(separator: "\n")
|
||||
repository_checklist_items.pluck(:data).map { |d| d.tr("\n", ' ') }.join("\n")
|
||||
end
|
||||
|
||||
def data
|
||||
|
|
Loading…
Reference in a new issue