From: Mike Taylor Date: Mon, 25 Sep 2006 19:52:20 +0000 (+0000) Subject: xml_encode($title) X-Git-Tag: CPAN-v1.02~54^2~982 X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=fac43c5ce99cb5edfa6751629d47ada33006bbe5 xml_encode($title) --- diff --git a/web/htdocs/chrome/bannerrow.mc b/web/htdocs/chrome/bannerrow.mc index 8155e9b..70bf849 100644 --- a/web/htdocs/chrome/bannerrow.mc +++ b/web/htdocs/chrome/bannerrow.mc @@ -1,4 +1,4 @@ -%# $Id: bannerrow.mc,v 1.5 2006-09-25 16:46:27 mike Exp $ +%# $Id: bannerrow.mc,v 1.6 2006-09-25 19:52:20 mike Exp $ <%args> $title @@ -9,6 +9,6 @@ $title
-

<% $title %>

+

<% xml_encode($title) %>

diff --git a/web/htdocs/chrome/head.mc b/web/htdocs/chrome/head.mc index 5ab3d36..f4b133d 100644 --- a/web/htdocs/chrome/head.mc +++ b/web/htdocs/chrome/head.mc @@ -1,4 +1,4 @@ -%# $Id: head.mc,v 1.2 2006-09-22 09:05:39 mike Exp $ +%# $Id: head.mc,v 1.3 2006-09-25 19:53:02 mike Exp $ <%args> $title @@ -9,7 +9,7 @@ $title "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - IRSpy: <% $title %> + IRSpy: <% xml_encode($title) %>