X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=debian%2Fpatches%2F102_fix-uris.diff;fp=debian%2Fpatches%2F102_fix-uris.diff;h=8e79469d66fcf2ae14a9c5560debb520567998ff;hb=a22b5cf52ccb7fb0338f88ce2d184ba4e3ecd5b7;hp=0000000000000000000000000000000000000000;hpb=d2078abf95935788db273194cec72ab184adacce;p=memories.git
diff --git a/debian/patches/102_fix-uris.diff b/debian/patches/102_fix-uris.diff
new file mode 100644
index 0000000..8e79469
--- /dev/null
+++ b/debian/patches/102_fix-uris.diff
@@ -0,0 +1,88 @@
+--- trunk.orig/templates/album/list
++++ trunk/templates/album/list
+@@ -8,7 +8,7 @@
+ [% FOR album = minilist %]
+
+ [% album %]
+- ![]([% album.photos.last.thumb_url |uri%])
++ ![]([% album.photos.last.thumb_url |html%])
+
+ [%album.photos.size %]
+ photo[%-"s" IF album.photos.size != 1 %]
+--- trunk.orig/templates/custom/list
++++ trunk/templates/custom/list
+@@ -8,7 +8,7 @@
+ [% FOR object = minilist %]
+ |
+ [% object %]
+- ![]([% object.photos.last.thumb_url |uri%])
++ ![]([% object.photos.last.thumb_url |html%])
+
+ [%object.photos.size %]
+ photo[%-"s" IF object.photos.size != 1 %]
+--- trunk.orig/templates/macros
++++ trunk/templates/macros
+@@ -2,7 +2,7 @@
+
+
+
+-
++
+
+ |
+
+--- trunk.orig/templates/nav
++++ trunk/templates/nav
+@@ -4,7 +4,7 @@
+ |
+ [% FOR photo = request.recent_uploads %]
+
+-
++
+
+ [% END %]
+ |
+--- trunk.orig/templates/recent.rss
++++ trunk/templates/recent.rss
+@@ -12,7 +12,7 @@
+
+ [% FILTER html %]
+
+-
++
+
+ [% END %]
+
+--- trunk.orig/templates/systemtag/list
++++ trunk/templates/systemtag/list
+@@ -14,7 +14,7 @@
+ [% IF photos.last %]
+ |
+
+-
++
+
+ |
+
+--- trunk.orig/templates/tag/list
++++ trunk/templates/tag/list
+@@ -14,7 +14,7 @@
+ [% IF photos.last %]
+ |
+
+-
++
+
+ |
+
+--- trunk.orig/templates/user/list
++++ trunk/templates/user/list
+@@ -10,7 +10,7 @@
+ [% SET photos = user.photos %]
+ [% user %]
+ [% IF photos.last %]
+- ![]([% photos.last.thumb_url |uri%])
++ ![]([% photos.last.thumb_url |html%])
+
+ [%photos.size %]
+ photo[%-"s" IF photos.size != 1 %]
|