diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-17 00:16:28 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-18 15:53:59 -0800 |
commit | 4914109cb8235b66e965a58776c8dcfcc2f309a5 (patch) | |
tree | 789b209d515dec0c7f4ddb100ee91edfdcffdf46 | |
parent | a9d9f940ce173e1c749dab92fc9d716792cd403d (diff) | |
download | gitlab-ce-4914109cb8235b66e965a58776c8dcfcc2f309a5.tar.gz |
Fix code rendering for snippets
-rw-r--r-- | app/views/shared/_file_highlight.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/shared/_file_highlight.html.haml b/app/views/shared/_file_highlight.html.haml index 52b48ff7451..fba69dd0f3f 100644 --- a/app/views/shared/_file_highlight.html.haml +++ b/app/views/shared/_file_highlight.html.haml @@ -7,4 +7,5 @@ = link_to "#L#{i}", id: "L#{i}", rel: "#L#{i}" do %i.fa.fa-link = i - = highlight(blob.name, blob.data) + :preserve + #{highlight(blob.name, blob.data)} |