mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-18 15:59:39 +08:00
Merge pull request #2352 from urbanrotnik/ur-sci-4272-multiple-checklist-items-fix
Fix for items with newline [SCI-4272]
This commit is contained in:
commit
2007524365
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…
Add table
Reference in a new issue