Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/rouge
diff options
context:
space:
mode:
authorhttp://jneen.net/ <jneen@jneen.net>2016-07-15 08:43:49 +0300
committerhttp://jneen.net/ <jneen@jneen.net>2016-07-15 08:43:49 +0300
commitc4ea394736f98aebd6b370d75a5b3556206ce09d (patch)
tree7783d555c727600372094537a7d650fc28a1d46e /lib/rouge
parentc763c7e402599a2789e260ecf61c11c68381aaa5 (diff)
use %(...) and %[...] in favor of %<...>
Diffstat (limited to 'lib/rouge')
-rw-r--r--lib/rouge/formatters/html_gitlab.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rouge/formatters/html_gitlab.rb b/lib/rouge/formatters/html_gitlab.rb
index b76cf14a536..f818dc78d34 100644
--- a/lib/rouge/formatters/html_gitlab.rb
+++ b/lib/rouge/formatters/html_gitlab.rb
@@ -17,9 +17,9 @@ module Rouge
yield "\n" unless is_first
is_first = false
- yield %<<span id="LC#{@line_number}" class="line">>
+ yield %(<span id="LC#{@line_number}" class="line">)
line.each { |token, value| yield span(token, value) }
- yield %<</span>>
+ yield %(</span>)
@line_number += 1
end