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.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/refs/_tree.html.haml b/app/views/refs/_tree.html.haml
index 07bab2129dc..b7b3fd2ca80 100644
--- a/app/views/refs/_tree.html.haml
+++ b/app/views/refs/_tree.html.haml
@@ -40,9 +40,9 @@
%h3= content.name
.readme
- if content.name =~ /\.(md|markdown)$/i
- = markdown(encode content.data)
+ = markdown(content.data)
- else
- = simple_format(encode content.data)
+ = simple_format(content.data)
:javascript
$(function(){