diff options
author | Brett Walker <bwalker@gitlab.com> | 2018-08-15 23:51:29 +0300 |
---|---|---|
committer | Brett Walker <bwalker@gitlab.com> | 2018-09-05 17:19:16 +0300 |
commit | 5a7451c2f91e5ed7fa95f6abb5eaceaf220945cb (patch) | |
tree | 1b99fe086f74e42e997a6b8bbf2f3962298685ef /app/models/repository.rb | |
parent | bd807fe0a69fdc53c7423bea8f24e73080fbada6 (diff) |
Enable CommonMark for files and wikis
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r-- | app/models/repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb index cf255c8951f..4b4d5d5f349 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -580,7 +580,7 @@ class Repository end def rendered_readme - MarkupHelper.markup_unsafe(readme.name, readme.data, project: project, markdown_engine: :redcarpet) if readme + MarkupHelper.markup_unsafe(readme.name, readme.data, project: project) if readme end cache_method :rendered_readme |