Merge pull request #8373 from aignatov-bio/ai-sci-11380-fix-sa-for-shared-task

Fix SA in shared task [SCI-11380]
This commit is contained in:
aignatov-bio 2025-03-28 14:07:45 +01:00 committed by GitHub
commit 08b72b2c74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,12 +28,7 @@
</div>
<% if field.description %>
<div>
<%= custom_auto_link(
field.description,
simple_format: false,
tags: %w(img),
team: current_team
) %>
<%= smart_annotation_text(field.description) %>
</div>
<% end %>
<div class="mt-2">
@ -50,12 +45,7 @@
<span class='iso-formatted-date <%= 'only-date' unless field.data['time'] %>'><%= field_value.datetime&.iso8601 %></span>
<% end %>
<% elsif field_value.is_a?(FormTextFieldValue)%>
<%= custom_auto_link(
field_value.formatted,
simple_format: false,
tags: %w(img),
team: current_team
) %>
<%= smart_annotation_text(field_value.formatted) %>
<% else %>
<%= field_value.formatted %>
<% end %>