From: Robert Haas Date: Sat, 1 Aug 2009 04:41:51 +0000 (-0400) Subject: Fix a couple of escaping bugs discovered during code review of RSS patch. X-Git-Url: http://git.postgresql.org/gitweb/static/connections.php?a=commitdiff_plain;h=be8e2a6f7be761fdda3cc2e7512e94abb6f22e5b;p=pgcommitfest.git Fix a couple of escaping bugs discovered during code review of RSS patch. --- diff --git a/template/commitfest_activity.tt2 b/template/commitfest_activity.tt2 index 358f2e9..d603851 100644 --- a/template/commitfest_activity.tt2 +++ b/template/commitfest_activity.tt2 @@ -13,10 +13,10 @@ [% FOREACH a = activity %] [% a.last_updated_time %] - [% a.last_updater %] + [% a.last_updater | htmlsafe %] [% IF a.patch_id.defined %][% END %][% a.patch_name | htmlsafe %][% IF a.patch_id.defined %][% END %] - [% a.activity_type | html %] - [% a.details %] + [% a.activity_type | htmlsafe %] + [% a.details | htmlsafe %] [% END %] diff --git a/template/header.tt2 b/template/header.tt2 index 2ab304b..4fd8018 100644 --- a/template/header.tt2 +++ b/template/header.tt2 @@ -27,7 +27,7 @@
- + [% IF link.size != 0 %][% END %]

[% title %]

[% title | htmlsafe %]

[% FOREACH l = link %][% l.1 | html %][% IF !loop.last %] - [% END %][% END %]