<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 19: html in snippet description scrambles snippet summary</title><link href="https://sourceforge.net/p/php-csl/bugs/19/" rel="alternate"/><link href="https://sourceforge.net/p/php-csl/bugs/19/feed.atom" rel="self"/><id>https://sourceforge.net/p/php-csl/bugs/19/</id><updated>2006-03-16T21:34:03Z</updated><subtitle>Recent changes to 19: html in snippet description scrambles snippet summary</subtitle><entry><title>html in snippet description scrambles snippet summary</title><link href="https://sourceforge.net/p/php-csl/bugs/19/" rel="alternate"/><published>2006-03-16T21:34:03Z</published><updated>2006-03-16T21:34:03Z</updated><author><name>mathew</name><uri>https://sourceforge.net/u/eightize/</uri></author><id>https://sourceforge.net016bf2f32aa45d858f65e739d40a15ca41985ed6</id><summary type="html">&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;</summary></entry></feed>