[pLog-svn] r2356 - in plog/branches/plog-1.0.2/templates: rss
summary/rss
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Sun Jul 24 09:56:18 GMT 2005
Author: oscar
Date: 2005-07-24 09:56:18 +0000 (Sun, 24 Jul 2005)
New Revision: 2356
Modified:
plog/branches/plog-1.0.2/templates/rss/atom.template
plog/branches/plog-1.0.2/templates/summary/rss/atom.template
plog/branches/plog-1.0.2/templates/summary/rss/blogs_atom.template
Log:
this should fix issue 652
Modified: plog/branches/plog-1.0.2/templates/rss/atom.template
===================================================================
--- plog/branches/plog-1.0.2/templates/rss/atom.template 2005-07-24 09:49:51 UTC (rev 2355)
+++ plog/branches/plog-1.0.2/templates/rss/atom.template 2005-07-24 09:56:18 UTC (rev 2356)
@@ -17,7 +17,7 @@
<modified>{$postDate->getW3Date()}</modified>
<issued>{$locale->formatDate($postDate, "%Y-%m-%dT%H:%M:%S")}</issued>
<created>{$locale->formatDate($postDate, "%Y-%m-%dT%H:%M:%SZ")}</created>
- <summary type="text/plain">{$post->getText()|strip_tags|truncate:200:" ..."}</summary>
+ <summary type="text/plain">{$post->getText()|strip_tags|truncate:200:" ..."|escape:"html"}</summary>
<author>
{assign var="postOwner" value=$post->getUserInfo()}
<name>{$postOwner->getUsername()|escape}</name>
Modified: plog/branches/plog-1.0.2/templates/summary/rss/atom.template
===================================================================
--- plog/branches/plog-1.0.2/templates/summary/rss/atom.template 2005-07-24 09:49:51 UTC (rev 2355)
+++ plog/branches/plog-1.0.2/templates/summary/rss/atom.template 2005-07-24 09:56:18 UTC (rev 2356)
@@ -19,7 +19,7 @@
<modified>{$postDate->getW3Date()}</modified>
<issued>{$locale->formatDate($postDate, "%Y-%m-%dT%H:%M:%S")}</issued>
<created>{$locale->formatDate($postDate, "%Y-%m-%dT%H:%M:%SZ")}</created>
- <summary type="text/plain">{$post->getText()|strip_tags|truncate:200:" ..."}</summary>
+ <summary type="text/plain">{$post->getText()|strip_tags|truncate:200:" ..."|escape:"html"}</summary>
<author>
{assign var="postOwner" value=$post->getUserInfo()}
<name>{$postOwner->getUsername()}</name>
Modified: plog/branches/plog-1.0.2/templates/summary/rss/blogs_atom.template
===================================================================
--- plog/branches/plog-1.0.2/templates/summary/rss/blogs_atom.template 2005-07-24 09:49:51 UTC (rev 2355)
+++ plog/branches/plog-1.0.2/templates/summary/rss/blogs_atom.template 2005-07-24 09:56:18 UTC (rev 2356)
@@ -14,7 +14,7 @@
<modified>{$modifiedDate->getW3Date()}</modified>
<issued>{$locale->formatDate($blogDate, "%Y-%m-%dT%H:%M:%S")}</issued>
<created>{$locale->formatDate($blogDate, "%Y-%m-%dT%H:%M:%SZ")}</created>
- <summary type="text/plain">{$blog->getAbout()|strip_tags|truncate:200:" ..."}</summary>
+ <summary type="text/plain">{$blog->getAbout()|strip_tags|truncate:200:" ..."|escape:"html"}</summary>
<author>
{assign var="blogOwner" value=$blog->getOwnerInfo()}
<name>{$blogOwner->getUsername()}</name>
More information about the pLog-svn
mailing list