<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=Text_Highlighter</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/16428" />
      <rdf:li rdf:resource="http://pear.php.net/bug/14560" />
      <rdf:li rdf:resource="http://pear.php.net/bug/14480" />
      <rdf:li rdf:resource="http://pear.php.net/bug/13350" />
      <rdf:li rdf:resource="http://pear.php.net/bug/12836" />
      <rdf:li rdf:resource="http://pear.php.net/bug/12233" />
      <rdf:li rdf:resource="http://pear.php.net/bug/11414" />
      <rdf:li rdf:resource="http://pear.php.net/bug/11172" />
      <rdf:li rdf:resource="http://pear.php.net/bug/11168" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/16428">
      <title>Text_Highlighter: Feature/Change Request 16428 [Assigned] Different classes for each language</title>
      <link>http://pear.php.net/bugs/16428</link>
      <content:encoded><![CDATA[<pre>Text_Highlighter Feature/Change Request
Reported by perthius
2009-07-11T13:44:13+00:00
PHP: 5.2.5 OS: Windows XP Package Version: 0.7.1

Description:
------------
It would be great if the html code generated by this package added a class to the pre element indicating which language is being displayed, eg. &lt;pre class=&quot;hl-html&quot;&gt;

This would allow me to define different styles for different languages in the same page without having to wrap each code section in another div.

.hl_html .hl-code {
    color: Gray;
}

.hl_javascript .hl-code {
    color: Maroon;
}</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Highlighter Feature/Change Request
Reported by perthius
2009-07-11T13:44:13+00:00
PHP: 5.2.5 OS: Windows XP Package Version: 0.7.1

Description:
------------
It would be great if the html code generated by this package added a class to the pre element indicating which language is being displayed, eg. &lt;pre class=&quot;hl-html&quot;&gt;

This would allow me to define different styles for different languages in the same page without having to wrap each code section in another div.

.hl_html .hl-code {
    color: Gray;
}

.hl_javascript .hl-code {
    color: Maroon;
}</pre>]]></description>
      <dc:date>2009-07-13T04:47:50+00:00</dc:date>
      <dc:creator>perthius &amp;#x61;&amp;#116; lavabit &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Text_Highlighter Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/14560">
      <title>Text_Highlighter: Bug 14560 [Assigned] yields warnings from E_STRICT</title>
      <link>http://pear.php.net/bugs/14560</link>
      <content:encoded><![CDATA[<pre>Text_Highlighter Bug
Reported by thijs
2008-08-25T09:01:46+00:00
PHP: 5.2.0 OS: Linux Package Version: 0.7.1

Description:
------------
When turning on E_STRICT in PHP5 I get these warnings. Could you look into that please? Thanks!

Strict Standards: Assigning the return value of new by reference is deprecated in Text/Highlighter.php on line 210
Strict Standards: Assigning the return value of new by reference is deprecated in 
Text/Highlighter.php on line 364
Strict Standards: Redefining already defined constructor for class Text_Highlighter_Renderer in 
Text/Highlighter/Renderer.php on line 73</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Highlighter Bug
Reported by thijs
2008-08-25T09:01:46+00:00
PHP: 5.2.0 OS: Linux Package Version: 0.7.1

Description:
------------
When turning on E_STRICT in PHP5 I get these warnings. Could you look into that please? Thanks!

Strict Standards: Assigning the return value of new by reference is deprecated in Text/Highlighter.php on line 210
Strict Standards: Assigning the return value of new by reference is deprecated in 
Text/Highlighter.php on line 364
Strict Standards: Redefining already defined constructor for class Text_Highlighter_Renderer in 
Text/Highlighter/Renderer.php on line 73</pre>]]></description>
      <dc:date>2008-10-09T09:08:59+00:00</dc:date>
      <dc:creator>thijs &amp;#x61;&amp;#116; debian &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>Text_Highlighter Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/14480">
      <title>Text_Highlighter: Feature/Change Request 14480 [Open] Empty &lt;span&gt;s are generated</title>
      <link>http://pear.php.net/bugs/14480</link>
      <content:encoded><![CDATA[<pre>Text_Highlighter Feature/Change Request
Reported by sirzooro
2008-08-09T06:36:42+00:00
PHP: 5.2.6 OS: Windows Package Version: 0.7.1

Description:
------------
&lt;span&gt; generation in Text Highlighter can be improved. Especially these things can be improved (at least for JavaScript):
- extra empty &lt;span&gt;s at end of comments;
- new line sign is enclosed in &lt;span&gt; too, while it is not needed;
- '//' and comment text are in separate spans - can be put in one.

Despite these issues page code still validates and looks properly, so I am logging this as enhancement in order to clean up this.

Test script:
---------------
$code = &lt;&lt;&lt;EOT
// comment
// comment
EOT;
$highlighter =&amp; Text_Highlighter::factory('JAVASCRIPT');
echo $highlighter-&gt;highlight($code);

Expected result:
----------------
&lt;div class=&quot;hl-main&quot;&gt;&lt;pre&gt;&lt;span class=&quot;hl-comment&quot;&gt;// comment&lt;/span&gt;
&lt;span class=&quot;hl-comment&quot;&gt;// comment&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;

Actual result:
--------------
&lt;div class=&quot;hl-main&quot;&gt;&lt;pre&gt;&lt;span class=&quot;hl-comment&quot;&gt;//&lt;/span&gt;&lt;span class=&quot;hl-comment&quot;&gt; comment&lt;/span&gt;&lt;span class=&quot;hl-comment&quot;&gt;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;hl-comment&quot;&gt;//&lt;/span&gt;&lt;span class=&quot;hl-comment&quot;&gt; comment&lt;/span&gt;&lt;span class=&quot;hl-comment&quot;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Highlighter Feature/Change Request
Reported by sirzooro
2008-08-09T06:36:42+00:00
PHP: 5.2.6 OS: Windows Package Version: 0.7.1

Description:
------------
&lt;span&gt; generation in Text Highlighter can be improved. Especially these things can be improved (at least for JavaScript):
- extra empty &lt;span&gt;s at end of comments;
- new line sign is enclosed in &lt;span&gt; too, while it is not needed;
- '//' and comment text are in separate spans - can be put in one.

Despite these issues page code still validates and looks properly, so I am logging this as enhancement in order to clean up this.

Test script:
---------------
$code = &lt;&lt;&lt;EOT
// comment
// comment
EOT;
$highlighter =&amp; Text_Highlighter::factory('JAVASCRIPT');
echo $highlighter-&gt;highlight($code);

Expected result:
----------------
&lt;div class=&quot;hl-main&quot;&gt;&lt;pre&gt;&lt;span class=&quot;hl-comment&quot;&gt;// comment&lt;/span&gt;
&lt;span class=&quot;hl-comment&quot;&gt;// comment&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;

Actual result:
--------------
&lt;div class=&quot;hl-main&quot;&gt;&lt;pre&gt;&lt;span class=&quot;hl-comment&quot;&gt;//&lt;/span&gt;&lt;span class=&quot;hl-comment&quot;&gt; comment&lt;/span&gt;&lt;span class=&quot;hl-comment&quot;&gt;&lt;/span&gt;&lt;span class=&quot;hl-code&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;hl-comment&quot;&gt;//&lt;/span&gt;&lt;span class=&quot;hl-comment&quot;&gt; comment&lt;/span&gt;&lt;span class=&quot;hl-comment&quot;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;</pre>]]></description>
      <dc:date>2008-08-09T06:36:42+00:00</dc:date>
      <dc:creator>bugzilla &amp;#x61;&amp;#116; poradnik-webmastera &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Text_Highlighter Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/13350">
      <title>Text_Highlighter: Bug 13350 [Assigned] problem handling mac-style line breaks. eg. \r</title>
      <link>http://pear.php.net/bugs/13350</link>
      <content:encoded><![CDATA[<pre>Text_Highlighter Bug
Reported by ussr
2008-03-08T21:13:39+00:00
PHP: 5.2.0 OS: mac os 10.4 Package Version: 0.7.1

Description:
------------
source files using mac-style line braks (\r) are highlighted correctly, but (at least in the HTML-renderer) rendered without linebreaks. This bug  is easily fixed by adding a line to the &quot;preprocess&quot; function in Array.php. Mac-style line breaks are normalized by adding:

$str = str_replace(&quot;\r&quot;,&quot;\n&quot;, $str);

I will resend this bug, I am not sure if the previous one was actually submitted. This bug-reporting system is, hm, difficult.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Highlighter Bug
Reported by ussr
2008-03-08T21:13:39+00:00
PHP: 5.2.0 OS: mac os 10.4 Package Version: 0.7.1

Description:
------------
source files using mac-style line braks (\r) are highlighted correctly, but (at least in the HTML-renderer) rendered without linebreaks. This bug  is easily fixed by adding a line to the &quot;preprocess&quot; function in Array.php. Mac-style line breaks are normalized by adding:

$str = str_replace(&quot;\r&quot;,&quot;\n&quot;, $str);

I will resend this bug, I am not sure if the previous one was actually submitted. This bug-reporting system is, hm, difficult.</pre>]]></description>
      <dc:date>2008-07-19T04:41:12+00:00</dc:date>
      <dc:creator>ussr &amp;#x61;&amp;#116; vostok6 &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Text_Highlighter Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/12836">
      <title>Text_Highlighter: Feature/Change Request 12836 [Open] License seems to not really fit, please change</title>
      <link>http://pear.php.net/bugs/12836</link>
      <content:encoded><![CDATA[<pre>Text_Highlighter Feature/Change Request
Reported by thijs
2008-01-06T05:01:04+00:00
PHP: Irrelevant OS:  Package Version: 0.7.1

Description:
------------
Hi!

Thank you for making this class, it's very useful to me. I would also like to include it into Debian Linux as a package. There I encountered a problem with the license (PHP license 3.01): it does not really seem to apply to the package.

There's a few references in the license that say that derived versions may not be called PHP, and at the bottom the license claims that this product includes the Zend engine. I do not think that Text Highlighter includes Zend Engine :-)

As it seems, the PHP license is written with PHP-the-language in mind. May I suggest a license change to the BSD-license? It seems similar in scope but is simpler, wider known and does not have the problems I outlined above. An alternative is dual licensing under PHP and BSD licenses.

thanks!</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Highlighter Feature/Change Request
Reported by thijs
2008-01-06T05:01:04+00:00
PHP: Irrelevant OS:  Package Version: 0.7.1

Description:
------------
Hi!

Thank you for making this class, it's very useful to me. I would also like to include it into Debian Linux as a package. There I encountered a problem with the license (PHP license 3.01): it does not really seem to apply to the package.

There's a few references in the license that say that derived versions may not be called PHP, and at the bottom the license claims that this product includes the Zend engine. I do not think that Text Highlighter includes Zend Engine :-)

As it seems, the PHP license is written with PHP-the-language in mind. May I suggest a license change to the BSD-license? It seems similar in scope but is simpler, wider known and does not have the problems I outlined above. An alternative is dual licensing under PHP and BSD licenses.

thanks!</pre>]]></description>
      <dc:date>2008-08-25T13:04:55+00:00</dc:date>
      <dc:creator>thijs &amp;#x61;&amp;#116; debian &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>Text_Highlighter Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/12233">
      <title>Text_Highlighter: Feature/Change Request 12233 [Open] Feature Requests</title>
      <link>http://pear.php.net/bugs/12233</link>
      <content:encoded><![CDATA[<pre>Text_Highlighter Feature/Change Request
Reported by flippedup
2007-10-12T11:55:59+00:00
PHP: 5.2.4 OS: Linux Package Version: 0.7.0

Description:
------------
This package is absolutely amazing but it lacks in details.  I believe that the following configuration options should be allowed:

1.The ability to highlight a line from start to end by prepending the line with a specified character.  It would wrap the resulting line with a span and class attribute.

2.The ability to change the default CSS class names that are used for highlighting.

3.The ability to specify whether or not URLs that are found should be linked with an &lt;a href&gt; tag.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Highlighter Feature/Change Request
Reported by flippedup
2007-10-12T11:55:59+00:00
PHP: 5.2.4 OS: Linux Package Version: 0.7.0

Description:
------------
This package is absolutely amazing but it lacks in details.  I believe that the following configuration options should be allowed:

1.The ability to highlight a line from start to end by prepending the line with a specified character.  It would wrap the resulting line with a span and class attribute.

2.The ability to change the default CSS class names that are used for highlighting.

3.The ability to specify whether or not URLs that are found should be linked with an &lt;a href&gt; tag.</pre>]]></description>
      <dc:date>2007-10-12T15:49:45+00:00</dc:date>
      <dc:creator>foreground &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Text_Highlighter Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/11414">
      <title>Text_Highlighter: Feature/Change Request 11414 [Open] doclinks - option in xml file</title>
      <link>http://pear.php.net/bugs/11414</link>
      <content:encoded><![CDATA[<pre>Text_Highlighter Feature/Change Request
Reported by phpmyforum
2007-06-23T04:20:47+00:00
PHP: 5.2.3 OS: Linux Package Version: 

Description:
------------
I think it would be nice to have a default-value for highlighter doclinks-option.

This should be cached in the Highlighter/*.php files, too.

Thanks</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Highlighter Feature/Change Request
Reported by phpmyforum
2007-06-23T04:20:47+00:00
PHP: 5.2.3 OS: Linux Package Version: 

Description:
------------
I think it would be nice to have a default-value for highlighter doclinks-option.

This should be cached in the Highlighter/*.php files, too.

Thanks</pre>]]></description>
      <dc:date>2007-06-23T04:20:47+00:00</dc:date>
      <dc:creator>chris &amp;#x61;&amp;#116; phpmyforum &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>Text_Highlighter Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/11172">
      <title>Text_Highlighter: Feature/Change Request 11172 [Open] Add inline mode</title>
      <link>http://pear.php.net/bugs/11172</link>
      <content:encoded><![CDATA[<pre>Text_Highlighter Feature/Change Request
Reported by sirzooro
2007-05-29T01:02:24+00:00
PHP: Irrelevant OS: N/A Package Version: 0.6.9

Description:
------------
Currently highlighted code is wrapped with &lt;div class=&quot;hl-main&quot;&gt;&lt;pre&gt;...&lt;/pre&gt;&lt;/div&gt;. Add option to use &lt;code class=&quot;hl-main&quot;&gt;...&lt;/code&gt; instead.

Trere is also one more thing to consider - new line handling. Consider adding new options 'new line handling' with following values:
- none (left them as-is);
- html (replace with &lt;br&gt;);
- xhtml (replace with &lt;br /&gt;).</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Highlighter Feature/Change Request
Reported by sirzooro
2007-05-29T01:02:24+00:00
PHP: Irrelevant OS: N/A Package Version: 0.6.9

Description:
------------
Currently highlighted code is wrapped with &lt;div class=&quot;hl-main&quot;&gt;&lt;pre&gt;...&lt;/pre&gt;&lt;/div&gt;. Add option to use &lt;code class=&quot;hl-main&quot;&gt;...&lt;/code&gt; instead.

Trere is also one more thing to consider - new line handling. Consider adding new options 'new line handling' with following values:
- none (left them as-is);
- html (replace with &lt;br&gt;);
- xhtml (replace with &lt;br /&gt;).</pre>]]></description>
      <dc:date>2007-10-25T15:39:54+00:00</dc:date>
      <dc:creator>bugzilla &amp;#x61;&amp;#116; poradnik-webmastera &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Text_Highlighter Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/11168">
      <title>Text_Highlighter: Feature/Change Request 11168 [Open] PHP highlighting doesn't work</title>
      <link>http://pear.php.net/bugs/11168</link>
      <content:encoded><![CDATA[<pre>Text_Highlighter Feature/Change Request
Reported by sirzooro
2007-05-28T15:14:31+00:00
PHP: 4.4.5 OS: windows Package Version: 0.6.9

Description:
------------
PHP highlighting doesn't work at all

Test script:
---------------
require_once 'Text/Highlighter.php';
$highlighter =&amp; Text_Highlighter::factory('PHP');
echo $highlighter-&gt;highlight('print &quot;abc&quot;; // print &quot;abc&quot;');


Expected result:
----------------
Highlighted PHP code sample

Actual result:
--------------
&lt;div class=&quot;hl-main&quot;&gt;&lt;pre&gt;&lt;span class=&quot;hl-code&quot;&gt;print &amp;quot;abc&amp;quot;; // print &amp;quot;abc&amp;quot;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Highlighter Feature/Change Request
Reported by sirzooro
2007-05-28T15:14:31+00:00
PHP: 4.4.5 OS: windows Package Version: 0.6.9

Description:
------------
PHP highlighting doesn't work at all

Test script:
---------------
require_once 'Text/Highlighter.php';
$highlighter =&amp; Text_Highlighter::factory('PHP');
echo $highlighter-&gt;highlight('print &quot;abc&quot;; // print &quot;abc&quot;');


Expected result:
----------------
Highlighted PHP code sample

Actual result:
--------------
&lt;div class=&quot;hl-main&quot;&gt;&lt;pre&gt;&lt;span class=&quot;hl-code&quot;&gt;print &amp;quot;abc&amp;quot;; // print &amp;quot;abc&amp;quot;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;</pre>]]></description>
      <dc:date>2007-05-28T16:32:45+00:00</dc:date>
      <dc:creator>bugzilla &amp;#x61;&amp;#116; poradnik-webmastera &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Text_Highlighter Feature/Change Request</dc:subject>
    </item>
</rdf:RDF>
