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-17 00:16:28 -0800 |
commit | 904c382f6abb3c1ee3b3a7c5de0579b1cf2e3bea (patch) | |
tree | 9a7ec62a9830d1c1fd8ac187deb25298afac1969 | |
parent | eceec9b1c528a4fb05888e0c83e1d58c41f3d047 (diff) | |
download | gitlab-ce-904c382f6abb3c1ee3b3a7c5de0579b1cf2e3bea.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)} |