fix wiki display
This commit is contained in:
parent
3d34ef4aea
commit
dc97a1a4c3
3 changed files with 20 additions and 0 deletions
7
debian/changelog
vendored
7
debian/changelog
vendored
|
@ -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
|
||||
|
||||
* Relax stable library versions requirement
|
||||
|
|
12
debian/patches/fix-wiki.patch
vendored
Normal file
12
debian/patches/fix-wiki.patch
vendored
Normal 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
|
||||
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
@ -19,3 +19,4 @@
|
|||
0109-fix-coffee-script.patch
|
||||
source-init-functions.patch
|
||||
pid-log-paths.patch
|
||||
fix-wiki.patch
|
||||
|
|
Loading…
Reference in a new issue