diff --git a/app/helpers/wopi_helper.rb b/app/helpers/wopi_helper.rb index ac8465195..eaaeec08d 100644 --- a/app/helpers/wopi_helper.rb +++ b/app/helpers/wopi_helper.rb @@ -1,5 +1,4 @@ module WopiHelper - #include FileIconsHelper def wopi_result_view_file_button(result) if result.asset.can_perform_action('view') link_to view_asset_url(id: result.asset), @@ -57,7 +56,7 @@ module WopiHelper html += "#{file_extension_icon(asset)} " html += truncate(asset.file_file_name, length: Constants::FILENAME_TRUNCATION_LENGTH) - html += '

' + html += ' 

' sanitize_input(html, %w(img)) end end