diff options
author | http://jneen.net/ <jneen@jneen.net> | 2016-07-15 08:43:49 +0300 |
---|---|---|
committer | http://jneen.net/ <jneen@jneen.net> | 2016-07-15 08:43:49 +0300 |
commit | c4ea394736f98aebd6b370d75a5b3556206ce09d (patch) | |
tree | 7783d555c727600372094537a7d650fc28a1d46e /app/helpers | |
parent | c763c7e402599a2789e260ecf61c11c68381aaa5 (diff) |
use %(...) and %[...] in favor of %<...>
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/blob_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/blob_helper.rb b/app/helpers/blob_helper.rb index 39f9f935d31..abe115d8c68 100644 --- a/app/helpers/blob_helper.rb +++ b/app/helpers/blob_helper.rb @@ -1,7 +1,7 @@ module BlobHelper def highlight(blob_name, blob_content, repository: nil, plain: false) highlighted = Gitlab::Highlight.highlight(blob_name, blob_content, plain: plain, repository: repository) - raw %<<pre class="code highlight"><code>#{highlighted}</code></pre>> + raw %(<pre class="code highlight"><code>#{highlighted}</code></pre>) end def no_highlight_files |