debian-mirror-gitlab/debian/patches/fix-wiki.patch

13 lines
442 B
Diff
Raw Normal View History

2016-03-18 19:12:59 +05:30
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