Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/blob/_text.html.haml')
-rw-r--r--app/views/projects/blob/_text.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/blob/_text.html.haml b/app/views/projects/blob/_text.html.haml
index 122e275219d..bed493d6d8c 100644
--- a/app/views/projects/blob/_text.html.haml
+++ b/app/views/projects/blob/_text.html.haml
@@ -1,12 +1,12 @@
- if gitlab_markdown?(blob.name)
- .file_content.wiki
+ .file-content.wiki
= preserve do
= markdown(blob.data)
- elsif markup?(blob.name)
- .file_content.wiki
+ .file-content.wiki
= raw GitHub::Markup.render(blob.name, blob.data)
- else
- .file_content.code
+ .file-content.code
- unless blob.empty?
%div{class: user_color_scheme_class}
= raw blob.colorize(formatter: :gitlab)