diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-01-27 18:18:18 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-01-27 18:18:18 +0200 |
commit | 891ea6f6e66c753d9a2f7a4e261f4d37e118c253 (patch) | |
tree | 53ff2c467202384ac1485d1cdd9b6e90660748a9 /lib/redcarpet | |
parent | 86e4f6e06ddb314c97e2bc3e027d9f0ee0d9a852 (diff) | |
download | gitlab-ce-891ea6f6e66c753d9a2f7a4e261f4d37e118c253.tar.gz |
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.rb | 4 |
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> |