From ab98965947c5dd483a118d9a20ccd161caecf12b Mon Sep 17 00:00:00 2001 From: Gregor Lasnibat <143816208+lasniscinote@users.noreply.github.com> Date: Fri, 5 Jan 2024 16:43:58 +0100 Subject: [PATCH] (fix) Wide code sample on a shared task [SCI-9942] (#6890) --- app/views/shareable_links/my_module_protocol_show.html.erb | 2 +- app/views/shareable_links/my_modules/_protocol.html.erb | 2 +- .../shareable_links/my_modules/step_elements/_text.html.erb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/shareable_links/my_module_protocol_show.html.erb b/app/views/shareable_links/my_module_protocol_show.html.erb index 3a3c76adf..44e480fed 100644 --- a/app/views/shareable_links/my_module_protocol_show.html.erb +++ b/app/views/shareable_links/my_module_protocol_show.html.erb @@ -46,7 +46,7 @@
<% if @my_module.description.present? %> -
+
<%= smart_annotation_text(@my_module.shareable_tinymce_render(:description)) %>
<% else %> diff --git a/app/views/shareable_links/my_modules/_protocol.html.erb b/app/views/shareable_links/my_modules/_protocol.html.erb index 7cf56fa1d..8ff8858e3 100644 --- a/app/views/shareable_links/my_modules/_protocol.html.erb +++ b/app/views/shareable_links/my_modules/_protocol.html.erb @@ -42,7 +42,7 @@
<% if protocol.description.present? %> -
+
<%= smart_annotation_text(protocol.shareable_tinymce_render(:description)) %>
<% else %> diff --git a/app/views/shareable_links/my_modules/step_elements/_text.html.erb b/app/views/shareable_links/my_modules/step_elements/_text.html.erb index 0ebc01442..ff0eaf420 100644 --- a/app/views/shareable_links/my_modules/step_elements/_text.html.erb +++ b/app/views/shareable_links/my_modules/step_elements/_text.html.erb @@ -8,7 +8,7 @@
<% end %> <% if element.text.present? %> -
+
<%= smart_annotation_text(element.shareable_tinymce_render(:text)) %>
<% else %>