From dd073ef0921b1040259acf927a55f52a9ece0a22 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 15 Oct 2010 22:43:08 +0200 Subject: [PATCH] =?utf8?q?Don=E2=80=99t=20use=20the=20HTML=20filter=20to?= =?utf8?q?=20write=20XML.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/insert/sone.xml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/main/resources/templates/insert/sone.xml b/src/main/resources/templates/insert/sone.xml index e2446c0..704c415 100644 --- a/src/main/resources/templates/insert/sone.xml +++ b/src/main/resources/templates/insert/sone.xml @@ -2,20 +2,20 @@ <% currentSone.id> - <% currentSone.name|html> + <% currentSone.name|xml> - <% currentSone.profile.firstName|html> - <% currentSone.profile.middleName|html> - <% currentSone.profile.lastName|html> + <% currentSone.profile.firstName|xml> + <% currentSone.profile.middleName|xml> + <% currentSone.profile.lastName|xml> <%foreach currentSone.posts post> - <% post.id> + <% post.id|xml> - <% post.text|html> + <% post.text|xml> <%/foreach> @@ -24,9 +24,9 @@ <%foreach currentSone.replies reply> <% reply.id> - <% reply.post.id> + <% reply.post.id|xml> - <% reply.text> + <% reply.text|xml> <%/foreach> @@ -34,9 +34,9 @@ <%foreach currentSone.friends friend> - <% friend.id|html> - <% friend.requestUri|html> - <% friend.name|html> + <% friend.id|xml> + <% friend.requestUri|xml> + <% friend.name|xml> <%/foreach> @@ -44,9 +44,9 @@ <%foreach knownSones sone> - <% sone.id|html> - <% sone.requestUri|html> - <% sone.name|html> + <% sone.id|xml> + <% sone.requestUri|xml> + <% sone.name|xml> <%/foreach> -- 2.7.4