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/peek
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-06-07 17:51:15 +0300
committerRémy Coutable <remy@rymai.me>2017-06-09 18:21:39 +0300
commitd16a3cf7fc350023da65a5080214765ade2e1aa1 (patch)
treed37f06e7a9d26fa0e79fdcf6b5f094d3459beebc /lib/peek
parentda3ad00cf15aa5d3c3724b412d56a0cba3a270b5 (diff)
Fix replacement of Pygments with Rouge
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'lib/peek')
-rw-r--r--lib/peek/rblineprof/custom_controller_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/peek/rblineprof/custom_controller_helpers.rb b/lib/peek/rblineprof/custom_controller_helpers.rb
index 4ea4ba45e38..796420971b5 100644
--- a/lib/peek/rblineprof/custom_controller_helpers.rb
+++ b/lib/peek/rblineprof/custom_controller_helpers.rb
@@ -77,7 +77,7 @@ module Peek
output << "<pre class='duration'>#{times.join("\n")}</pre>"
# The following line was changed from
# https://github.com/peek/peek-rblineprof/blob/8d3b7a283a27de2f40abda45974516693d882258/lib/peek/rblineprof/controller_helpers.rb#L125
- output << "<pre class='code highlight'>#{pygmentize(file_name, code.join, 'ruby')}</pre>"
+ output << "<pre class='code highlight white'>#{pygmentize(file_name, code.join, 'ruby')}</pre>"
output << "</div></div>" # .data then .peek-rblineprof-file
end