mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-06 06:56:54 +08:00
Merge pull request #1770 from okriuchykhin/ok_SCI_3376
Force UTF-8 encoding for Table contents in API [SCI-3376]
This commit is contained in:
commit
ae456a6408
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ module Api
|
|||
end
|
||||
|
||||
def table_contents
|
||||
object.table&.contents
|
||||
object.table&.contents&.force_encoding(Encoding::UTF_8)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue