debian-mirror-gitlab/debian/patches/fix-wiki.patch
Praveen Arimbrathodiyil dc97a1a4c3 fix wiki display
2016-03-18 19:12:59 +05:30

12 lines
442 B
Diff

diff -ur a/app/models/wiki_page.rb b/app/models/wiki_page.rb
--- a/app/models/wiki_page.rb 2016-01-23 17:45:00.000000000 +0100
+++ b/app/models/wiki_page.rb 2016-03-03 08:26:25.256512379 +0100
@@ -62,7 +62,7 @@
# The raw content of this page.
def content
@attributes[:content] ||= if @page
- @page.raw_data
+ @page.text_data
end
end