summaryrefslogtreecommitdiff
path: root/app/views/refs/_tree.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/refs/_tree.html.haml')
-rw-r--r--app/views/refs/_tree.html.haml9
1 files changed, 1 insertions, 8 deletions
diff --git a/app/views/refs/_tree.html.haml b/app/views/refs/_tree.html.haml
index a4765c1087a..83e73280666 100644
--- a/app/views/refs/_tree.html.haml
+++ b/app/views/refs/_tree.html.haml
@@ -43,18 +43,11 @@
%i.icon-file
= content.name
.file_content.wiki
- - if content.name =~ /\.(md|markdown)$/i
- = preserve do
- = markdown(content.data)
- - else
- = simple_format(content.data)
+ = raw GitHub::Markup.render(content.name, content.data)
:javascript
$(function(){
- $('.project-refs-select').chosen();
-
history.pushState({ path: this.path }, '', "#{@history_path}");
-
});
// Load last commit log for each file in tree