1 --- memories.orig/templates/album/list
2 +++ memories/templates/album/list
4 [% FOR album = minilist %]
6 <a href="[%base%]/album/view/[%album.id%]">[% album %]<br/>
7 - <img src="[% album.photos.last.thumb_url %]"></a><br/>
8 + <img src="[% album.photos.last.thumb_url |html%]"></a><br/>
10 [%album.photos.size %]
11 photo[%-"s" IF album.photos.size != 1 %]
12 --- memories.orig/templates/custom/list
13 +++ memories/templates/custom/list
15 [% FOR object = minilist %]
17 <a href="[%base%]/[%object.moniker%]/view/[%object.id%]">[% object %]<br/>
18 - <img src="[% object.photos.last.thumb_url %]"></a><br/>
19 + <img src="[% object.photos.last.thumb_url |html%]"></a><br/>
21 [%object.photos.size %]
22 photo[%-"s" IF object.photos.size != 1 %]</span>
23 --- memories.orig/templates/macros
24 +++ memories/templates/macros
27 [% MACRO minithumb(photo) BLOCK %]
28 <a href="[%base%]/photo/view/[%photo.id%]">
29 - <img src="[% photo.thumb_url %]" alt="[%photo.title|html%]"/>
30 + <img src="[% photo.thumb_url |html%]" alt="[%photo.title|html%]"/>
32 [% END; MACRO thumb(photo, album) BLOCK %]
34 --- memories.orig/templates/nav
35 +++ memories/templates/nav
37 </td><td align="right">
38 [% FOR photo = request.recent %]
39 <a href="[%base%]/photo/view/[%photo.id%]">
40 - <img src="[% photo.thumb_url%]" alt="[%photo.title|html%]"/>
41 + <img src="[% photo.thumb_url |html%]" alt="[%photo.title|html%]"/>
45 --- memories.orig/templates/recent.rss
46 +++ memories/templates/recent.rss
50 <a href="[%base%]/photo/view/[%photo.id%]">
51 - <img src="[% photo.thumb_url %]" alt="[%photo.title|html%]"/>
52 + <img src="[% photo.thumb_url |html%]" alt="[%photo.title|html%]"/>
56 --- memories.orig/templates/systemtag/list
57 +++ memories/templates/systemtag/list
61 <a href="[%base%]/tag/view/[%tag.name |html%]">
62 - <img src="[% photos.last.thumb_url %]">
63 + <img src="[% photos.last.thumb_url |html%]">
67 --- memories.orig/templates/tag/list
68 +++ memories/templates/tag/list
72 <a href="[%base%]/tag/view/[%tag.name |html%]">
73 - <img src="[% photos.last.thumb_url%]">
74 + <img src="[% photos.last.thumb_url |html%]">
78 --- memories.orig/templates/user/list
79 +++ memories/templates/user/list
81 [% SET photos = user.photos %]
82 <a href="[%base%]/user/view/[%user.id%]">[% user %]<br/>
84 - <img src="[% photos.last.thumb_url %]"></a><br/>
85 + <img src="[% photos.last.thumb_url |html%]"></a><br/>
88 photo[%-"s" IF photos.size != 1 %]</span>