mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-05 04:03:45 +08:00
Merge pull request #8136 from artoscinote/ma_SCI_11428
Add back auto_link to repository text values [SCI-11428]
This commit is contained in:
commit
6d7b81869e
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ module RepositoryDatatable
|
||||||
def value
|
def value
|
||||||
@user = scope[:user]
|
@user = scope[:user]
|
||||||
{
|
{
|
||||||
view: value_object.has_smart_annotation? ? custom_auto_link(value_object.data, simple_format: true, team: scope[:team]) : sanitize_input(value_object.data),
|
view: value_object.has_smart_annotation? ? custom_auto_link(value_object.data, simple_format: true, team: scope[:team]) : auto_link(sanitize_input(value_object.data)),
|
||||||
edit: value_object.data
|
edit: value_object.data
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue