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
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-27 20:18:18 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-27 20:18:18 +0400
commit891ea6f6e66c753d9a2f7a4e261f4d37e118c253 (patch)
tree53ff2c467202384ac1485d1cdd9b6e90660748a9 /lib/redcarpet
parent86e4f6e06ddb314c97e2bc3e027d9f0ee0d9a852 (diff)
Improve highlight for notes
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib/redcarpet')
-rw-r--r--lib/redcarpet/render/gitlab_html.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/redcarpet/render/gitlab_html.rb b/lib/redcarpet/render/gitlab_html.rb
index b3e8ed2ade5..6da0c1d6f96 100644
--- a/lib/redcarpet/render/gitlab_html.rb
+++ b/lib/redcarpet/render/gitlab_html.rb
@@ -23,9 +23,7 @@ class Redcarpet::Render::GitlabHTML < Redcarpet::Render::HTML
<div class="highlighted-data #{h.user_color_scheme_class}">
<div class="highlight">
- <pre>
- <code class="#{language}">#{code}</code>
- </pre>
+ <pre><code class="#{language}">#{code}</code></pre>
</div>
</div>