From: Go MAEDA Date: Fri, 8 Mar 2024 07:13:18 +0000 (+0000) Subject: Fix RuboCop offense Layout/SpaceInsideStringInterpolation (#39111, #40137). X-Git-Tag: 6.0.0~382 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bcb2ebb6a08ec849a4740b7a8cab7c64d2bee35e;p=redmine.git Fix RuboCop offense Layout/SpaceInsideStringInterpolation (#39111, #40137). git-svn-id: https://svn.redmine.org/redmine/trunk@22771 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/lib/redmine/wiki_formatting/common_mark/helper.rb b/lib/redmine/wiki_formatting/common_mark/helper.rb index d0dacd156..417ffab22 100644 --- a/lib/redmine/wiki_formatting/common_mark/helper.rb +++ b/lib/redmine/wiki_formatting/common_mark/helper.rb @@ -26,7 +26,7 @@ module Redmine javascript_tag( "var wikiToolbar = new jsToolBar(document.getElementById('#{field_id}')); " \ - "wikiToolbar.setHelpLink('#{escape_javascript help_wiki_syntax_path }'); " \ + "wikiToolbar.setHelpLink('#{escape_javascript help_wiki_syntax_path}'); " \ "wikiToolbar.setPreviewUrl('#{escape_javascript preview_url}'); " \ "wikiToolbar.draw();" )