From 392f9808f16132b2827114466985df704f6e47e5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 19 Oct 2010 22:20:16 +0200 Subject: [PATCH] Escape all IDs in HTML. --- src/main/resources/templates/include/head.html | 2 +- src/main/resources/templates/include/viewPost.html | 14 +++++++------- src/main/resources/templates/include/viewSone.html | 10 +++++----- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index b1d01bc..c198fc4 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -13,7 +13,7 @@
- + <%ifnull ! currentSone> <%include include/updateStatus.html> diff --git a/src/main/resources/templates/include/viewPost.html b/src/main/resources/templates/include/viewPost.html index 7c0eb19..adeb92a 100644 --- a/src/main/resources/templates/include/viewPost.html +++ b/src/main/resources/templates/include/viewPost.html @@ -1,29 +1,29 @@ -
+
- +
<% post.text|html>
<%foreach post.replies reply>
<% reply.time|date format="MMM d, yyyy, HH:mm:ss">
- <%if reply.sone.current><%/if> + <%if reply.sone.current><%/if>
<%/foreach>
- +
diff --git a/src/main/resources/templates/include/viewSone.html b/src/main/resources/templates/include/viewSone.html index dbcfa4d..7d3dd24 100644 --- a/src/main/resources/templates/include/viewSone.html +++ b/src/main/resources/templates/include/viewSone.html @@ -5,33 +5,33 @@
⬈
✔
<%= View.Sone.Label.LastUpdate|l10n|html> <% sone.time|date format="MMM d, yyyy, HH:mm:ss">
- +
<% sone.requestUri|substring start=4 length=43|html>
<%ifnull ! currentSone> <%if ! sone.current> <%if sone.friend>
- +
<%else> <%/if> <%if sone.blocked>
- +
<%else>
- +
<%/if> -- 2.7.4