<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/phphaml/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/phphaml/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/phphaml/bugs/</id><updated>2009-05-18T03:26:58Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>dashes in classes or ids</title><link href="https://sourceforge.net/p/phphaml/bugs/4/" rel="alternate"/><published>2009-05-18T03:26:58Z</published><updated>2009-05-18T03:26:58Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net92b5909cacc5b060393a297d6f11f39e3e59a502</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Any classes that have dashes seem to be having them removed.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>commas in attributes</title><link href="https://sourceforge.net/p/phphaml/bugs/3/" rel="alternate"/><published>2009-05-17T17:58:11Z</published><updated>2009-05-17T17:58:11Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net81ceb5f430cabb35b9e8ff6faaaaa3b5e3fcf40a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When it encounters a comma in an attribute like having multiple media types for css like media = 'screen, projection' it thinks the second item in the string is a new attribute and screws up.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>i18n problem while using writeAttributes.</title><link href="https://sourceforge.net/p/phphaml/bugs/2/" rel="alternate"/><published>2009-04-21T12:58:19Z</published><updated>2009-04-21T12:58:19Z</updated><author><name>Yuri Baburov</name><uri>https://sourceforge.net/u/yuri-baburov/</uri></author><id>https://sourceforge.net58408a3e025349f914392eddd41e890f53cc1591</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Problem: i18n problem at writeAttributes. htmlentities encodes UTF-8 data.&lt;br /&gt;
Solution: replace "htmlentities" with "htmlspecialchars".&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>HAML if else bug</title><link href="https://sourceforge.net/p/phphaml/bugs/1/" rel="alternate"/><published>2009-01-26T08:13:05Z</published><updated>2009-01-26T08:13:05Z</updated><author><name>Renat Mennanov</name><uri>https://sourceforge.net/u/mennanov/</uri></author><id>https://sourceforge.netf1d13d346ffdc24f2d800576483fd71f7e6c27dd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;%tr&lt;br /&gt;
- if (!empty($page-&amp;gt;title))&lt;br /&gt;
%th Title&lt;br /&gt;
- else &lt;br /&gt;
%th Title err&lt;br /&gt;
%td= $page-&amp;gt;title&lt;/p&gt;
&lt;p&gt;It is compiled to:&lt;/p&gt;
&lt;p&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;?php       if (!empty($page-&amp;gt;title)) {?&amp;gt;          &amp;lt;th&amp;gt;Title&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;?php } ?&amp;gt;&amp;lt;?php       else {?&amp;gt;          &amp;lt;th&amp;gt;Title err&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;?php } ?&amp;gt;        &amp;lt;td&amp;gt;&amp;lt;?php echo $page-&amp;gt;title; ?&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;/p&gt;
&lt;p&gt;But it doesn't work because of the syntax error:&lt;br /&gt;
&amp;lt;?php } ?&amp;gt;&amp;lt;?php       else {?&amp;gt; &lt;br /&gt;
Must be&lt;br /&gt;
&amp;lt;?php }     else {?&amp;gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>