fix wiki display

This commit is contained in:
Praveen Arimbrathodiyil 2016-03-18 19:12:59 +05:30
parent 3d34ef4aea
commit dc97a1a4c3
3 changed files with 20 additions and 0 deletions

7
debian/changelog vendored
View file

@ -1,3 +1,10 @@
gitlab (8.4.3+dfsg-12) unstable; urgency=medium
[ Libor Klepáč ]
* Add fix-wiki.patch: Fix wiki display (Closes: #815465)
-- Pirate Praveen <praveen@debian.org> Fri, 18 Mar 2016 19:12:10 +0530
gitlab (8.4.3+dfsg-11) unstable; urgency=medium gitlab (8.4.3+dfsg-11) unstable; urgency=medium
* Relax stable library versions requirement * Relax stable library versions requirement

12
debian/patches/fix-wiki.patch vendored Normal file
View file

@ -0,0 +1,12 @@
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

View file

@ -19,3 +19,4 @@
0109-fix-coffee-script.patch 0109-fix-coffee-script.patch
source-init-functions.patch source-init-functions.patch
pid-log-paths.patch pid-log-paths.patch
fix-wiki.patch