<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 19: html in snippet description scrambles snippet summary</title><link>https://sourceforge.net/p/php-csl/bugs/19/</link><description>Recent changes to 19: html in snippet description scrambles snippet summary</description><atom:link href="https://sourceforge.net/p/php-csl/bugs/19/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 16 Mar 2006 21:34:03 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/php-csl/bugs/19/feed.rss" rel="self" type="application/rss+xml"/><item><title>html in snippet description scrambles snippet summary</title><link>https://sourceforge.net/p/php-csl/bugs/19/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;If there are html tags in the description of a snippet,&lt;br /&gt;
the page that shows the snippet summaries may be&lt;br /&gt;
scrambled, because html tags have not been escaped. It&lt;br /&gt;
seems to be solved by changing line 31 of file&lt;br /&gt;
description.php from:&lt;/p&gt;
&lt;p&gt;echo substr($d, 0, 100)."...";&lt;/p&gt;
&lt;p&gt;to:&lt;/p&gt;
&lt;p&gt;echo htmlentities(substr($d, 0, 100))."...";&lt;/p&gt;
&lt;p&gt;not sure if this causes other problems, but it solves&lt;br /&gt;
this particular problem for me.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mathew</dc:creator><pubDate>Thu, 16 Mar 2006 21:34:03 -0000</pubDate><guid>https://sourceforge.net016bf2f32aa45d858f65e739d40a15ca41985ed6</guid></item></channel></rss>