From: David ‘Bombe’ Roden Date: Fri, 15 Oct 2010 20:43:08 +0000 (+0200) Subject: Don’t use the HTML filter to write XML. X-Git-Tag: 0.1-RC1~311 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=dd073ef0921b1040259acf927a55f52a9ece0a22 Don’t use the HTML filter to write XML. --- 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>