<?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_Wiki</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/16523" />
      <rdf:li rdf:resource="http://pear.php.net/bug/15385" />
      <rdf:li rdf:resource="http://pear.php.net/bug/15205" />
      <rdf:li rdf:resource="http://pear.php.net/bug/14898" />
      <rdf:li rdf:resource="http://pear.php.net/bug/14652" />
      <rdf:li rdf:resource="http://pear.php.net/bug/14604" />
      <rdf:li rdf:resource="http://pear.php.net/bug/14453" />
      <rdf:li rdf:resource="http://pear.php.net/bug/14401" />
      <rdf:li rdf:resource="http://pear.php.net/bug/13195" />
      <rdf:li rdf:resource="http://pear.php.net/bug/13194" />
      <rdf:li rdf:resource="http://pear.php.net/bug/12722" />
      <rdf:li rdf:resource="http://pear.php.net/bug/12719" />
      <rdf:li rdf:resource="http://pear.php.net/bug/12569" />
      <rdf:li rdf:resource="http://pear.php.net/bug/12567" />
      <rdf:li rdf:resource="http://pear.php.net/bug/12164" />
      <rdf:li rdf:resource="http://pear.php.net/bug/12163" />
      <rdf:li rdf:resource="http://pear.php.net/bug/11649" />
      <rdf:li rdf:resource="http://pear.php.net/bug/11331" />
      <rdf:li rdf:resource="http://pear.php.net/bug/10682" />
      <rdf:li rdf:resource="http://pear.php.net/bug/10015" />
      <rdf:li rdf:resource="http://pear.php.net/bug/9812" />
      <rdf:li rdf:resource="http://pear.php.net/bug/9384" />
      <rdf:li rdf:resource="http://pear.php.net/bug/9382" />
      <rdf:li rdf:resource="http://pear.php.net/bug/9271" />
      <rdf:li rdf:resource="http://pear.php.net/bug/8877" />
      <rdf:li rdf:resource="http://pear.php.net/bug/8502" />
      <rdf:li rdf:resource="http://pear.php.net/bug/8482" />
      <rdf:li rdf:resource="http://pear.php.net/bug/8190" />
      <rdf:li rdf:resource="http://pear.php.net/bug/7929" />
      <rdf:li rdf:resource="http://pear.php.net/bug/7754" />
      <rdf:li rdf:resource="http://pear.php.net/bug/7717" />
      <rdf:li rdf:resource="http://pear.php.net/bug/7619" />
      <rdf:li rdf:resource="http://pear.php.net/bug/6133" />
      <rdf:li rdf:resource="http://pear.php.net/bug/4291" />
      <rdf:li rdf:resource="http://pear.php.net/bug/4230" />

     </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/16523">
      <title>Text_Wiki: Bug 16523 [Open] Problem with headings when transforming from Mediawiki to Tikiwiki</title>
      <link>http://pear.php.net/bugs/16523</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Bug
Reported by rodrigosprimo
2009-08-14T21:12:09+00:00
PHP: 5.2.5 OS: Linux Package Version: CVS

Description:
------------
There is a issue with headings and newline when transforming Mediawiki syntax to Tikiwiki. In some cases (as the one used in the test script) the output text will have missing and unexpected newlines before and after headings.

I think the problem is on the parser but I'm not sure and it might be a problem both in the parser and in the render. For me it is not clear when the parser should consider a block of text as a newline, as a paragraph or as a heading. This is why I'm not sure how to fix this problem.

Test script:
---------------
== heading ==
some paragraph with NO newline between it and the heading

== heading ==

some paragraph with newline between it and the heading

== heading ==
some paragraph with NO newline between it and the heading
== heading ==
some paragraph with NO newline between it and the heading

Expected result:
----------------
!!heading
some paragraph with NO newline between it and the heading

!!heading

some paragraph with newline between it and the heading

!!heading
some paragraph with NO newline between it and the heading
!!heading
some paragraph with NO newline between it and the heading


Actual result:
--------------
!!heading
some paragraph with NO newline between it and the heading

!!heading
some paragraph with newline between it and the heading

!!heading
some paragraph with NO newline between it and the heading
!!heading


some paragraph with NO newline between it and the heading</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Bug
Reported by rodrigosprimo
2009-08-14T21:12:09+00:00
PHP: 5.2.5 OS: Linux Package Version: CVS

Description:
------------
There is a issue with headings and newline when transforming Mediawiki syntax to Tikiwiki. In some cases (as the one used in the test script) the output text will have missing and unexpected newlines before and after headings.

I think the problem is on the parser but I'm not sure and it might be a problem both in the parser and in the render. For me it is not clear when the parser should consider a block of text as a newline, as a paragraph or as a heading. This is why I'm not sure how to fix this problem.

Test script:
---------------
== heading ==
some paragraph with NO newline between it and the heading

== heading ==

some paragraph with newline between it and the heading

== heading ==
some paragraph with NO newline between it and the heading
== heading ==
some paragraph with NO newline between it and the heading

Expected result:
----------------
!!heading
some paragraph with NO newline between it and the heading

!!heading

some paragraph with newline between it and the heading

!!heading
some paragraph with NO newline between it and the heading
!!heading
some paragraph with NO newline between it and the heading


Actual result:
--------------
!!heading
some paragraph with NO newline between it and the heading

!!heading
some paragraph with newline between it and the heading

!!heading
some paragraph with NO newline between it and the heading
!!heading


some paragraph with NO newline between it and the heading</pre>]]></description>
      <dc:date>2009-08-14T21:12:09+00:00</dc:date>
      <dc:creator>rodrigosprimo &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Text_Wiki Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/15385">
      <title>Text_Wiki: Bug 15385 [Analyzed] special characters are converted to % and break sprintf</title>
      <link>http://pear.php.net/bugs/15385</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Bug
Reported by duli
2008-12-23T17:26:57+00:00
PHP: 5.1.6 OS: centos 5.2 Package Version: 1.2.0

Description:
------------
I'm using wicked, a horde application that uses Text_wiki.

(horde developers said it was a PEAR bug: http://bugs.horde.org/ticket/7801)

When I create a wiki page with special characters in the name, like &quot;TributÃ¡rio&quot;, the page name gets encoded with %, which causes sprintf on line 134 of pear/Text/Wiki/Render/Xhtml/Wikilink.php to break:

Warning: sprintf() [function.sprintf]: Too few arguments in /usr/share/pear/Text/Wiki/Render/Xhtml/Wikilink.php on line 134

This happens because sprintf will try to substitute every %, when in fact only the first one should be substituted.

So this:

$href = sprintf($href, $this-&gt;urlEncode($page));

gets like this:

$href = sprintf(/wicked/display.php?page=%s&amp;referrer=Tribut%C3%A1rio, 
parcelamento);

And the error occurs because of the various % after page=%s.

So I think every % sign other than the first one should be escaped with %% in order to sprintf make the proper substitution.

Test script:
---------------
$href = &quot;/wicked/display.php?page=%s&amp;referrer=Tribut%C3%A1rio&quot;;
$page = &quot;parcelamento&quot;;

$hfer = sprintf($href, $page);

Will show:
PHP Warning:  sprintf(): Too few arguments in /home/duli/test.php on line 4

----------

(Possible) Solution:

If you change line 134 of Wikilink.php for this, then everything works just fine, because every % after the first one will be escaped:

$href = sprintf(substr_replace($href, ereg_replace(&quot;%&quot;, &quot;%%&quot;, substr($href, strpos($href, '%')+1)), strpos($href, '%')+1), $this-&gt;urlEncode($page));

I'm sure there's a clever way of fixing it. I'm no php expert.

Expected result:
----------------
The page should load normally and the links created on the fly should be fine.

Actual result:
--------------
The page &quot;tributÃ¡rio&quot; loads, but the wikilinks inside the page don't get created, because sprintf will think it's missing arguments:

( ! ) Warning: sprintf() [function.sprintf]: Too few arguments in 
/usr/share/pear/Text/Wiki/Render/Xhtml/Wikilink.php on line 134
Call Stack
#        Time        Memory        Function        Location
1        0.0008        142480        {main}( )        ../display.php:0
2        0.0402        3165472        Page-&gt;render( )        ../display.php:136
3        0.0402        3165472        Page-&gt;display( )        ../Page.php:508
4        0.0402        3165472        StandardPage-&gt;displayContents( )        ../Page.php:358
5        0.0459        3563592        Text_Wiki-&gt;transform( )        ../StandardPage.php:102
6        0.0550        4017424        Text_Wiki-&gt;render( )        ../Wiki.php:918
7        0.0576        4149312        preg_replace_callback ( )        ../Wiki.php:1012
8        0.0582        4150768        Text_Wiki-&gt;_renderToken( )        ../Wiki.php:0
9        0.0582        4150768        Text_Wiki_Render_Xhtml_Wikilink-&gt;token( )        ../Wiki.php:1128
10        0.0583        4150768        sprintf ( )        ../Wikilink.php:134</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Bug
Reported by duli
2008-12-23T17:26:57+00:00
PHP: 5.1.6 OS: centos 5.2 Package Version: 1.2.0

Description:
------------
I'm using wicked, a horde application that uses Text_wiki.

(horde developers said it was a PEAR bug: http://bugs.horde.org/ticket/7801)

When I create a wiki page with special characters in the name, like &quot;TributÃ¡rio&quot;, the page name gets encoded with %, which causes sprintf on line 134 of pear/Text/Wiki/Render/Xhtml/Wikilink.php to break:

Warning: sprintf() [function.sprintf]: Too few arguments in /usr/share/pear/Text/Wiki/Render/Xhtml/Wikilink.php on line 134

This happens because sprintf will try to substitute every %, when in fact only the first one should be substituted.

So this:

$href = sprintf($href, $this-&gt;urlEncode($page));

gets like this:

$href = sprintf(/wicked/display.php?page=%s&amp;referrer=Tribut%C3%A1rio, 
parcelamento);

And the error occurs because of the various % after page=%s.

So I think every % sign other than the first one should be escaped with %% in order to sprintf make the proper substitution.

Test script:
---------------
$href = &quot;/wicked/display.php?page=%s&amp;referrer=Tribut%C3%A1rio&quot;;
$page = &quot;parcelamento&quot;;

$hfer = sprintf($href, $page);

Will show:
PHP Warning:  sprintf(): Too few arguments in /home/duli/test.php on line 4

----------

(Possible) Solution:

If you change line 134 of Wikilink.php for this, then everything works just fine, because every % after the first one will be escaped:

$href = sprintf(substr_replace($href, ereg_replace(&quot;%&quot;, &quot;%%&quot;, substr($href, strpos($href, '%')+1)), strpos($href, '%')+1), $this-&gt;urlEncode($page));

I'm sure there's a clever way of fixing it. I'm no php expert.

Expected result:
----------------
The page should load normally and the links created on the fly should be fine.

Actual result:
--------------
The page &quot;tributÃ¡rio&quot; loads, but the wikilinks inside the page don't get created, because sprintf will think it's missing arguments:

( ! ) Warning: sprintf() [function.sprintf]: Too few arguments in 
/usr/share/pear/Text/Wiki/Render/Xhtml/Wikilink.php on line 134
Call Stack
#        Time        Memory        Function        Location
1        0.0008        142480        {main}( )        ../display.php:0
2        0.0402        3165472        Page-&gt;render( )        ../display.php:136
3        0.0402        3165472        Page-&gt;display( )        ../Page.php:508
4        0.0402        3165472        StandardPage-&gt;displayContents( )        ../Page.php:358
5        0.0459        3563592        Text_Wiki-&gt;transform( )        ../StandardPage.php:102
6        0.0550        4017424        Text_Wiki-&gt;render( )        ../Wiki.php:918
7        0.0576        4149312        preg_replace_callback ( )        ../Wiki.php:1012
8        0.0582        4150768        Text_Wiki-&gt;_renderToken( )        ../Wiki.php:0
9        0.0582        4150768        Text_Wiki_Render_Xhtml_Wikilink-&gt;token( )        ../Wiki.php:1128
10        0.0583        4150768        sprintf ( )        ../Wikilink.php:134</pre>]]></description>
      <dc:date>2009-08-25T07:00:04+00:00</dc:date>
      <dc:creator>lfbm &amp;#x64;&amp;#111;&amp;#x74; andamentos &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Text_Wiki Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/15205">
      <title>Text_Wiki: Feature/Change Request 15205 [Open] javascript: links in wiki</title>
      <link>http://pear.php.net/bugs/15205</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by nikkolo
2008-12-02T08:04:07+00:00
PHP: 5.1.6 OS: any Package Version: CVS

Description:
------------
It would be nice to teach wiki recognise javascript: as a link - e.g. javascript:alert('Hello');. It could be used in some dynamic site environments like dojo or jquery. I've made some ugly changes to var $conf = array('schemes' in pear/Text/Wiki/Parse/Default/Url.php .

Test script:
---------------
working demo: http://globus.polynet.lviv.ua/test.html</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by nikkolo
2008-12-02T08:04:07+00:00
PHP: 5.1.6 OS: any Package Version: CVS

Description:
------------
It would be nice to teach wiki recognise javascript: as a link - e.g. javascript:alert('Hello');. It could be used in some dynamic site environments like dojo or jquery. I've made some ugly changes to var $conf = array('schemes' in pear/Text/Wiki/Parse/Default/Url.php .

Test script:
---------------
working demo: http://globus.polynet.lviv.ua/test.html</pre>]]></description>
      <dc:date>2008-12-02T08:04:07+00:00</dc:date>
      <dc:creator>anri &amp;#x61;&amp;#116; polynet &amp;#x64;&amp;#111;&amp;#x74; lviv &amp;#x64;&amp;#111;&amp;#x74; ua</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/14898">
      <title>Text_Wiki: Feature/Change Request 14898 [Open] Improve PHPCS results</title>
      <link>http://pear.php.net/bugs/14898</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by doconnor
2008-10-27T11:18:50+00:00
PHP: 5.2.4 OS:  Package Version: CVS

Description:
------------
See http://pear.cweiske.de/codingstandards/Text_Wiki.html</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by doconnor
2008-10-27T11:18:50+00:00
PHP: 5.2.4 OS:  Package Version: CVS

Description:
------------
See http://pear.cweiske.de/codingstandards/Text_Wiki.html</pre>]]></description>
      <dc:date>2008-10-27T21:24:35+00:00</dc:date>
      <dc:creator>daniel &amp;#x64;&amp;#111;&amp;#x74; oconnor &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/14652">
      <title>Text_Wiki: Bug 14652 [Open] Mediawiki preformatted backslash</title>
      <link>http://pear.php.net/bugs/14652</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Bug
Reported by js290
2008-09-16T18:26:16+00:00
PHP: 4.3.11 OS: Linux Package Version: CVS

Description:
------------
Using &lt;code&gt;&lt;pre&gt;, the \ character is not shown literally.  It seems to treat it as a placeholder line continuation.  

So, the following markup:

&lt;code&gt;&lt;pre&gt;
/------------------------------------------------------------------------------\
|                                Boot Options                                  |
\------------------------------------------------------------------------------/
&lt;/pre&gt;&lt;/code&gt;

displays as:

/------------------------------------------------------------------------------|                                Boot Options                                  |
\------------------------------------------------------------------------------/


The \ disappears, and the line following the \ is joined with the previous line where the \ was.

Test script:
---------------
&lt;code&gt;&lt;pre&gt;
/------------------------------------------------------------------------------\
|                                Boot Options                                  |
\------------------------------------------------------------------------------/
&lt;/pre&gt;&lt;/code&gt;

Expected result:
----------------
/------------------------------------------------------------------------------\
|                                Boot Options                                  |
\------------------------------------------------------------------------------/

Actual result:
--------------
/------------------------------------------------------------------------------|                                Boot Options                                  |
\------------------------------------------------------------------------------/</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Bug
Reported by js290
2008-09-16T18:26:16+00:00
PHP: 4.3.11 OS: Linux Package Version: CVS

Description:
------------
Using &lt;code&gt;&lt;pre&gt;, the \ character is not shown literally.  It seems to treat it as a placeholder line continuation.  

So, the following markup:

&lt;code&gt;&lt;pre&gt;
/------------------------------------------------------------------------------\
|                                Boot Options                                  |
\------------------------------------------------------------------------------/
&lt;/pre&gt;&lt;/code&gt;

displays as:

/------------------------------------------------------------------------------|                                Boot Options                                  |
\------------------------------------------------------------------------------/


The \ disappears, and the line following the \ is joined with the previous line where the \ was.

Test script:
---------------
&lt;code&gt;&lt;pre&gt;
/------------------------------------------------------------------------------\
|                                Boot Options                                  |
\------------------------------------------------------------------------------/
&lt;/pre&gt;&lt;/code&gt;

Expected result:
----------------
/------------------------------------------------------------------------------\
|                                Boot Options                                  |
\------------------------------------------------------------------------------/

Actual result:
--------------
/------------------------------------------------------------------------------|                                Boot Options                                  |
\------------------------------------------------------------------------------/</pre>]]></description>
      <dc:date>2008-09-16T18:26:16+00:00</dc:date>
      <dc:creator>sujiannming &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Text_Wiki Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/14604">
      <title>Text_Wiki: Bug 14604 [Assigned] Unresolved dependency in Text_Wiki_Render_Latex_Freelink</title>
      <link>http://pear.php.net/bugs/14604</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Bug
Reported by yunosh
2008-09-05T17:28:14+00:00
PHP: Irrelevant OS:  Package Version: 1.2.0

Description:
------------
Text_Wiki_Render_Latex_Freelink extends Text_Wiki_Render_Latex_Wikilink, but Text/Wiki/Render/Latex/Freelink.php doesn't load Wikilink.php.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Bug
Reported by yunosh
2008-09-05T17:28:14+00:00
PHP: Irrelevant OS:  Package Version: 1.2.0

Description:
------------
Text_Wiki_Render_Latex_Freelink extends Text_Wiki_Render_Latex_Wikilink, but Text/Wiki/Render/Latex/Freelink.php doesn't load Wikilink.php.</pre>]]></description>
      <dc:date>2008-10-09T08:59:28+00:00</dc:date>
      <dc:creator>jan &amp;#x61;&amp;#116; horde &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>Text_Wiki Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/14453">
      <title>Text_Wiki: Bug 14453 [Verified] Text_Wiki outputs warnings when autoload is enabled</title>
      <link>http://pear.php.net/bugs/14453</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Bug
Reported by sagi
2008-08-04T07:26:37+00:00
PHP: 5.2.2 OS:  Package Version: 1.2.0

Description:
------------
Text_Wiki uses class_exists to check whether it needs to include a class file.

However, such usage makes PHP dispatch an autoload call for the class, which may generate a warning if the autoload is not looking inside the PEAR path.

This can be fixed by passing 'false' as a second parameter for class_exists, which will prevent the autoload call, eg. class_exists($class, false).</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Bug
Reported by sagi
2008-08-04T07:26:37+00:00
PHP: 5.2.2 OS:  Package Version: 1.2.0

Description:
------------
Text_Wiki uses class_exists to check whether it needs to include a class file.

However, such usage makes PHP dispatch an autoload call for the class, which may generate a warning if the autoload is not looking inside the PEAR path.

This can be fixed by passing 'false' as a second parameter for class_exists, which will prevent the autoload call, eg. class_exists($class, false).</pre>]]></description>
      <dc:date>2008-10-26T01:58:23+00:00</dc:date>
      <dc:creator>php &amp;#x61;&amp;#116; sagi &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>Text_Wiki Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/14401">
      <title>Text_Wiki: Feature/Change Request 14401 [Open] Improve handling of rendering errors</title>
      <link>http://pear.php.net/bugs/14401</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by bfuerst
2008-07-24T16:55:38+00:00
PHP: 5.2.0 OS: Debian 4.0 Package Version: CVS

Description:
------------
In Wiki.php,v 1.52 2007/12/17 at line 1057 the render process will break if the parser finds 'Unbalanced tokens'. 

Is there any way to make the render process more tolerant to Wiki syntax errors? 

BTW: By just commenting out line 1057 I get expected results when rendering wrong Wiki syntax.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by bfuerst
2008-07-24T16:55:38+00:00
PHP: 5.2.0 OS: Debian 4.0 Package Version: CVS

Description:
------------
In Wiki.php,v 1.52 2007/12/17 at line 1057 the render process will break if the parser finds 'Unbalanced tokens'. 

Is there any way to make the render process more tolerant to Wiki syntax errors? 

BTW: By just commenting out line 1057 I get expected results when rendering wrong Wiki syntax.</pre>]]></description>
      <dc:date>2008-07-26T07:56:16+00:00</dc:date>
      <dc:creator>bernhard &amp;#x64;&amp;#111;&amp;#x74; fuerst &amp;#x61;&amp;#116; fuerstnet &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/13195">
      <title>Text_Wiki: Bug 13195 [Open] DokuWiki: Link with descriptive text in table not working</title>
      <link>http://pear.php.net/bugs/13195</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Bug
Reported by schmitzphilosys
2008-02-25T05:19:12+00:00
PHP: 4.4.0 OS:  Package Version: CVS

Description:
------------
DokuWiki: Link with descriptive text in table not working, pipe char is read as part of the table

This is like Bug 8402 but for DokuWiki (I wonder why this was not fixed too).



Test script:
---------------
|table col 1|[[page|text]]|</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Bug
Reported by schmitzphilosys
2008-02-25T05:19:12+00:00
PHP: 4.4.0 OS:  Package Version: CVS

Description:
------------
DokuWiki: Link with descriptive text in table not working, pipe char is read as part of the table

This is like Bug 8402 but for DokuWiki (I wonder why this was not fixed too).



Test script:
---------------
|table col 1|[[page|text]]|</pre>]]></description>
      <dc:date>2008-02-25T05:19:12+00:00</dc:date>
      <dc:creator>juergen &amp;#x64;&amp;#111;&amp;#x74; schmitz &amp;#x61;&amp;#116; philosys &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>Text_Wiki Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/13194">
      <title>Text_Wiki: Bug 13194 [Open] Dash not allowed in wiki links in DokuWiki</title>
      <link>http://pear.php.net/bugs/13194</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Bug
Reported by schmitzphilosys
2008-02-25T05:08:34+00:00
PHP: 4.4.0 OS:  Package Version: CVS

Description:
------------
[[my-page]] is not recognized as wiki link.

Fix:

Index: Wiki/Parse/Doku/Wikilink.php
===================================================================
RCS file: /repository/pear/Text_Wiki/Text/Wiki/Parse/Doku/Wikilink.php,v
retrieving revision 1.9
diff -r1.9 Wikilink.php
66c66
&lt;                       $either = 'A-Za-z0-9\p{L}';
---
&gt;                       $either = 'A-Za-z0-9\p{L}%-';
68c68
&lt;                       $either = 'A-Za-z0-9\xc0-\xfe';
---
&gt;                       $either = 'A-Za-z0-9\xc0-\xfe%-';
70c70
&lt;                       $either = 'A-Za-z0-9';
---
&gt;                       $either = 'A-Za-z0-9%-';
123c123
&lt; ?&gt;
\ No newline at end of file
---</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Bug
Reported by schmitzphilosys
2008-02-25T05:08:34+00:00
PHP: 4.4.0 OS:  Package Version: CVS

Description:
------------
[[my-page]] is not recognized as wiki link.

Fix:

Index: Wiki/Parse/Doku/Wikilink.php
===================================================================
RCS file: /repository/pear/Text_Wiki/Text/Wiki/Parse/Doku/Wikilink.php,v
retrieving revision 1.9
diff -r1.9 Wikilink.php
66c66
&lt;                       $either = 'A-Za-z0-9\p{L}';
---
&gt;                       $either = 'A-Za-z0-9\p{L}%-';
68c68
&lt;                       $either = 'A-Za-z0-9\xc0-\xfe';
---
&gt;                       $either = 'A-Za-z0-9\xc0-\xfe%-';
70c70
&lt;                       $either = 'A-Za-z0-9';
---
&gt;                       $either = 'A-Za-z0-9%-';
123c123
&lt; ?&gt;
\ No newline at end of file
---</pre>]]></description>
      <dc:date>2008-02-25T05:08:34+00:00</dc:date>
      <dc:creator>juergen &amp;#x64;&amp;#111;&amp;#x74; schmitz &amp;#x61;&amp;#116; philosys &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>Text_Wiki Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/12722">
      <title>Text_Wiki: Bug 12722 [Open] HTML Blockquote compliance</title>
      <link>http://pear.php.net/bugs/12722</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Bug
Reported by ntd
2007-12-18T12:55:51+00:00
PHP: Irrelevant OS: All Package Version: 1.2.0

Description:
------------
The HTML 4.01 standard defines &lt;blockquote&gt; as a block element. This means it cannot contain inline text:
http://www.w3.org/TR/html401/struct/text.html#h-9.2.2

To solve this issue, I simply put a &lt;div&gt; inside &lt;blockquote&gt;.

Test script:
---------------
&gt; test

Expected result:
----------------
&lt;blockquote&gt;&lt;div&gt;
    test
&lt;/div&gt;&lt;/blockquote&gt;

Actual result:
--------------
&lt;blockquote&gt;test    &lt;/blockquote&gt;</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Bug
Reported by ntd
2007-12-18T12:55:51+00:00
PHP: Irrelevant OS: All Package Version: 1.2.0

Description:
------------
The HTML 4.01 standard defines &lt;blockquote&gt; as a block element. This means it cannot contain inline text:
http://www.w3.org/TR/html401/struct/text.html#h-9.2.2

To solve this issue, I simply put a &lt;div&gt; inside &lt;blockquote&gt;.

Test script:
---------------
&gt; test

Expected result:
----------------
&lt;blockquote&gt;&lt;div&gt;
    test
&lt;/div&gt;&lt;/blockquote&gt;

Actual result:
--------------
&lt;blockquote&gt;test    &lt;/blockquote&gt;</pre>]]></description>
      <dc:date>2009-10-08T14:56:03+00:00</dc:date>
      <dc:creator>ntd &amp;#x61;&amp;#116; entidi &amp;#x64;&amp;#111;&amp;#x74; it</dc:creator>
      <dc:subject>Text_Wiki Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/12719">
      <title>Text_Wiki: Bug 12719 [Open] Blockquote parsing bugs</title>
      <link>http://pear.php.net/bugs/12719</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Bug
Reported by ntd
2007-12-18T12:39:30+00:00
PHP: Irrelevant OS: All Package Version: 1.2.0

Description:
------------
There are some problems in the Blockquote parser because of the use of 2 different regex and the modification of the text (removing and inserting \n) done in the process() method.

I'll show the results using the Xhtml renderer, but these problems are parser related, so common to all the renderers.

Test script:
---------------
&gt;This text disappeared

&gt; This did not generate
&gt; 
&gt; a paragraph inside the citation
&gt; 

&gt; This inverted the closing tags
&gt; 
&gt; violating the XHTML

&gt; This will not generate
&gt; 
&gt; any new paragraph
&gt;&gt; Can be a problem?

Expected result:
----------------
Anything acceptable. The attached patch provides the following result:

&amp;gt;This text disappeared    &lt;blockquote&gt;This did not generate&lt;p&gt;a paragraph inside the citation&lt;/p&gt;

    &lt;/blockquote&gt;
    &lt;blockquote&gt;This inverted the closing tagsviolating the XHTML    &lt;/blockquote&gt;
    &lt;blockquote&gt;This will not generateany new paragraph        &lt;blockquote&gt;Can be a problem?        &lt;/blockquote&gt;
    &lt;/blockquote&gt;

Actual result:
--------------
&lt;blockquote&gt;This did not generatea paragraph inside the citation    &lt;/blockquote&gt;
    &lt;blockquote&gt;This inverted the closing tags&lt;p&gt;violating the XHTML    &lt;/blockquote&gt;

&lt;/p&gt;

    &lt;blockquote&gt;This will not generateany new paragraph        &lt;blockquote&gt;Can be a problem?        &lt;/blockquote&gt;
    &lt;/blockquote&gt;</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Bug
Reported by ntd
2007-12-18T12:39:30+00:00
PHP: Irrelevant OS: All Package Version: 1.2.0

Description:
------------
There are some problems in the Blockquote parser because of the use of 2 different regex and the modification of the text (removing and inserting \n) done in the process() method.

I'll show the results using the Xhtml renderer, but these problems are parser related, so common to all the renderers.

Test script:
---------------
&gt;This text disappeared

&gt; This did not generate
&gt; 
&gt; a paragraph inside the citation
&gt; 

&gt; This inverted the closing tags
&gt; 
&gt; violating the XHTML

&gt; This will not generate
&gt; 
&gt; any new paragraph
&gt;&gt; Can be a problem?

Expected result:
----------------
Anything acceptable. The attached patch provides the following result:

&amp;gt;This text disappeared    &lt;blockquote&gt;This did not generate&lt;p&gt;a paragraph inside the citation&lt;/p&gt;

    &lt;/blockquote&gt;
    &lt;blockquote&gt;This inverted the closing tagsviolating the XHTML    &lt;/blockquote&gt;
    &lt;blockquote&gt;This will not generateany new paragraph        &lt;blockquote&gt;Can be a problem?        &lt;/blockquote&gt;
    &lt;/blockquote&gt;

Actual result:
--------------
&lt;blockquote&gt;This did not generatea paragraph inside the citation    &lt;/blockquote&gt;
    &lt;blockquote&gt;This inverted the closing tags&lt;p&gt;violating the XHTML    &lt;/blockquote&gt;

&lt;/p&gt;

    &lt;blockquote&gt;This will not generateany new paragraph        &lt;blockquote&gt;Can be a problem?        &lt;/blockquote&gt;
    &lt;/blockquote&gt;</pre>]]></description>
      <dc:date>2007-12-18T12:39:30+00:00</dc:date>
      <dc:creator>ntd &amp;#x61;&amp;#116; entidi &amp;#x64;&amp;#111;&amp;#x74; it</dc:creator>
      <dc:subject>Text_Wiki Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/12569">
      <title>Text_Wiki: Feature/Change Request 12569 [Open] Adding 'base_url' to XHTML Toc renderer</title>
      <link>http://pear.php.net/bugs/12569</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by ntd
2007-12-02T05:37:42+00:00
PHP: Irrelevant OS: All Package Version: 1.2.0

Description:
------------
This patch adds a 'base_url' configuration string that will be prepended to the href of every item in the TOC, so if a &lt;base&gt; tag is specified in the XHTML (and it does not point to the current URL) the toc can be used anyway by
specifying the current URL in 'base_url'.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by ntd
2007-12-02T05:37:42+00:00
PHP: Irrelevant OS: All Package Version: 1.2.0

Description:
------------
This patch adds a 'base_url' configuration string that will be prepended to the href of every item in the TOC, so if a &lt;base&gt; tag is specified in the XHTML (and it does not point to the current URL) the toc can be used anyway by
specifying the current URL in 'base_url'.</pre>]]></description>
      <dc:date>2007-12-02T05:37:42+00:00</dc:date>
      <dc:creator>ntd &amp;#x61;&amp;#116; entidi &amp;#x64;&amp;#111;&amp;#x74; it</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/12567">
      <title>Text_Wiki: Feature/Change Request 12567 [Assigned] XHTML rendering of  Toc using nested &lt;ul&gt;s</title>
      <link>http://pear.php.net/bugs/12567</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by ntd
2007-12-02T05:09:08+00:00
PHP: Irrelevant OS: All Package Version: 1.2.0

Description:
------------
This patch adds a 'use_ul' configuration flag that, if enabled, renders the Toc as a series of nested &lt;ul&gt;s. This allows more customization control, such as setting the indentation, rendering items on a per-level base or adding
JavaScript stuff to show/hide sublevels in complex tocs.

If 'use_ul' is false (default), it follows the old behaviour.

Test script:
---------------
[[toc]]

++ Header 2
+++ Header 3
++++ Header 4
++ Header 2
+++ Header 3

Expected result:
----------------
&lt;div id=&quot;idToc&quot;&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;a href=&quot;#toc0&quot;&gt;Header 2&lt;/a&gt;
      &lt;ul&gt;
        &lt;li&gt;&lt;a href=&quot;#toc1&quot;&gt;Header 3&lt;/a&gt;
          &lt;ul&gt;
            &lt;li&gt;&lt;a href=&quot;#toc2&quot;&gt;Header 4&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
        &lt;/li&gt;
      &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;#toc3&quot;&gt;Header 2&lt;/a&gt;
      &lt;ul&gt;
        &lt;li&gt;&lt;a href=&quot;#toc4&quot;&gt;Header 3&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by ntd
2007-12-02T05:09:08+00:00
PHP: Irrelevant OS: All Package Version: 1.2.0

Description:
------------
This patch adds a 'use_ul' configuration flag that, if enabled, renders the Toc as a series of nested &lt;ul&gt;s. This allows more customization control, such as setting the indentation, rendering items on a per-level base or adding
JavaScript stuff to show/hide sublevels in complex tocs.

If 'use_ul' is false (default), it follows the old behaviour.

Test script:
---------------
[[toc]]

++ Header 2
+++ Header 3
++++ Header 4
++ Header 2
+++ Header 3

Expected result:
----------------
&lt;div id=&quot;idToc&quot;&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;a href=&quot;#toc0&quot;&gt;Header 2&lt;/a&gt;
      &lt;ul&gt;
        &lt;li&gt;&lt;a href=&quot;#toc1&quot;&gt;Header 3&lt;/a&gt;
          &lt;ul&gt;
            &lt;li&gt;&lt;a href=&quot;#toc2&quot;&gt;Header 4&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
        &lt;/li&gt;
      &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;#toc3&quot;&gt;Header 2&lt;/a&gt;
      &lt;ul&gt;
        &lt;li&gt;&lt;a href=&quot;#toc4&quot;&gt;Header 3&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;</pre>]]></description>
      <dc:date>2007-12-17T11:28:34+00:00</dc:date>
      <dc:creator>ntd &amp;#x61;&amp;#116; entidi &amp;#x64;&amp;#111;&amp;#x74; it</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/12164">
      <title>Text_Wiki: Bug 12164 [Open] Closing italic // just after a column : doesn't render correctly</title>
      <link>http://pear.php.net/bugs/12164</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Bug
Reported by cbrunet
2007-10-01T08:04:58+00:00
PHP: Irrelevant OS:  Package Version: 1.2.0

Description:
------------
// aren't parsed if just after a column. I think it conflits with another rule.

Test script:
---------------
//A simple test://

//A simple test: //

Expected result:
----------------
A simple test in italic in both lines

Actual result:
--------------
//A simple test// (with /, but without italic)

The second line is ok</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Bug
Reported by cbrunet
2007-10-01T08:04:58+00:00
PHP: Irrelevant OS:  Package Version: 1.2.0

Description:
------------
// aren't parsed if just after a column. I think it conflits with another rule.

Test script:
---------------
//A simple test://

//A simple test: //

Expected result:
----------------
A simple test in italic in both lines

Actual result:
--------------
//A simple test// (with /, but without italic)

The second line is ok</pre>]]></description>
      <dc:date>2007-10-01T08:04:58+00:00</dc:date>
      <dc:creator>charles &amp;#x64;&amp;#111;&amp;#x74; fmj &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Text_Wiki Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/12163">
      <title>Text_Wiki: Feature/Change Request 12163 [Open] Xhtml tables lack summary attribute</title>
      <link>http://pear.php.net/bugs/12163</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by cbrunet
2007-10-01T07:53:22+00:00
PHP: Irrelevant OS:  Package Version: 1.2.0

Description:
------------
xhtml table render doesn't produce summary attribute for &lt;table&gt;. Although this validate with w3.org xhtml validator, it doesn't with tidy.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by cbrunet
2007-10-01T07:53:22+00:00
PHP: Irrelevant OS:  Package Version: 1.2.0

Description:
------------
xhtml table render doesn't produce summary attribute for &lt;table&gt;. Although this validate with w3.org xhtml validator, it doesn't with tidy.</pre>]]></description>
      <dc:date>2007-10-01T07:53:22+00:00</dc:date>
      <dc:creator>charles &amp;#x64;&amp;#111;&amp;#x74; fmj &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/11649">
      <title>Text_Wiki: Bug 11649 [Open] New Code regex fails</title>
      <link>http://pear.php.net/bugs/11649</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Bug
Reported by yunosh
2007-07-20T04:04:47+00:00
PHP: Irrelevant OS:  Package Version: 1.2.0

Description:
------------
Revision 1.7 of Text/Wiki/Parse/Default/Code.php breaks this page: http://wiki.horde.org/TurbaOutlook2003.
Reverting to 1.6 fixes the rendering.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Bug
Reported by yunosh
2007-07-20T04:04:47+00:00
PHP: Irrelevant OS:  Package Version: 1.2.0

Description:
------------
Revision 1.7 of Text/Wiki/Parse/Default/Code.php breaks this page: http://wiki.horde.org/TurbaOutlook2003.
Reverting to 1.6 fixes the rendering.</pre>]]></description>
      <dc:date>2009-10-08T16:54:26+00:00</dc:date>
      <dc:creator>jan &amp;#x61;&amp;#116; horde &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>Text_Wiki Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/11331">
      <title>Text_Wiki: Feature/Change Request 11331 [Open] Linking to images impossible</title>
      <link>http://pear.php.net/bugs/11331</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by fa
2007-06-16T10:08:00+00:00
PHP: Irrelevant OS:  Package Version: 1.2.0

Description:
------------
Maybe only a documentation problem, but how are you supposed to link to an image without displaying it?

http://example.org/example.jpg -&gt; &lt;img src=&quot;http://example.org/example.jpg&quot; alt=&quot;http://example.org/example.jpg&quot;&gt;

and

[http://example.org/example.jpg example] -&gt; &lt;img src=&quot;http://example.org/example.jpg&quot; alt=&quot;example&quot;&gt;

but I need:
[http://example.org/example.jpg example] -&gt; &lt;a href=&quot;http://example.org/example.jpg&quot;&gt;example&lt;/a&gt;</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by fa
2007-06-16T10:08:00+00:00
PHP: Irrelevant OS:  Package Version: 1.2.0

Description:
------------
Maybe only a documentation problem, but how are you supposed to link to an image without displaying it?

http://example.org/example.jpg -&gt; &lt;img src=&quot;http://example.org/example.jpg&quot; alt=&quot;http://example.org/example.jpg&quot;&gt;

and

[http://example.org/example.jpg example] -&gt; &lt;img src=&quot;http://example.org/example.jpg&quot; alt=&quot;example&quot;&gt;

but I need:
[http://example.org/example.jpg example] -&gt; &lt;a href=&quot;http://example.org/example.jpg&quot;&gt;example&lt;/a&gt;</pre>]]></description>
      <dc:date>2007-06-16T10:08:00+00:00</dc:date>
      <dc:creator>fa &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/10682">
      <title>Text_Wiki: Bug 10682 [Open] Text_Wiki not multi-byte safe</title>
      <link>http://pear.php.net/bugs/10682</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Bug
Reported by quinncom
2007-04-10T19:44:41+00:00
PHP: 5.2.1 OS: Linux 2.6 Package Version: 1.1.0

Description:
------------
Much of Text_Wiki is not multi-byte safe but can be fixed by searching for string functions and replacing them with mb_ equivalents.

Also the render method of Text_Wiki has this at line 1037:

    $char = $this-&gt;source{$i};

Which isn't friendly to multi-byte characters, and needs to be changed to:

    $char = mb_substr($this-&gt;source, $i, 1);</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Bug
Reported by quinncom
2007-04-10T19:44:41+00:00
PHP: 5.2.1 OS: Linux 2.6 Package Version: 1.1.0

Description:
------------
Much of Text_Wiki is not multi-byte safe but can be fixed by searching for string functions and replacing them with mb_ equivalents.

Also the render method of Text_Wiki has this at line 1037:

    $char = $this-&gt;source{$i};

Which isn't friendly to multi-byte characters, and needs to be changed to:

    $char = mb_substr($this-&gt;source, $i, 1);</pre>]]></description>
      <dc:date>2007-06-09T18:21:15+00:00</dc:date>
      <dc:creator>quinn &amp;#x61;&amp;#116; strangecode &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Text_Wiki Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/10015">
      <title>Text_Wiki: Feature/Change Request 10015 [Open] static toc margin</title>
      <link>http://pear.php.net/bugs/10015</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by mfn@...
2007-02-02T20:40:33+00:00
PHP: 5.1.4 OS: Windows/Linux Package Version: 1.2.0RC1

Description:
------------
In PEAR/Text/Wiki/Render/Xhtml/Toc.php the margin for the headings is defined static
Line 37 var $min = 2;

When you add 'min' =&gt; 2 to the conf Array its possible to change its value when needed.

Delete line 37.
After line 55 insert: $min = $this-&gt;getConf('min');
Line 104 has to be changed to: $pad = ($level - $min);


Test script:
---------------
Modified Toc.php : http://phpfi.com/199813</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by mfn@...
2007-02-02T20:40:33+00:00
PHP: 5.1.4 OS: Windows/Linux Package Version: 1.2.0RC1

Description:
------------
In PEAR/Text/Wiki/Render/Xhtml/Toc.php the margin for the headings is defined static
Line 37 var $min = 2;

When you add 'min' =&gt; 2 to the conf Array its possible to change its value when needed.

Delete line 37.
After line 55 insert: $min = $this-&gt;getConf('min');
Line 104 has to be changed to: $pad = ($level - $min);


Test script:
---------------
Modified Toc.php : http://phpfi.com/199813</pre>]]></description>
      <dc:date>2007-02-02T20:40:33+00:00</dc:date>
      <dc:creator>mfn &amp;#x61;&amp;#116; fs-etit &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/9812">
      <title>Text_Wiki: Feature/Change Request 9812 [Open] XHTML automatic numbering of headers</title>
      <link>http://pear.php.net/bugs/9812</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by julien@...
2007-01-12T08:48:12+00:00
PHP: Irrelevant OS:  Package Version: 1.1.0

Description:
------------
It would be nice a nice feature to include automatic numbering of headers in the TOC and Headings of the Xhtml renderer.
 Eg.

 1. General
 1.1 Scope
 1.1.1 Extent
 1.1.2 Structure
 1.2 Normative References
 1.3 Definitions

Patches are available at http://julien.grecom.nl/pear/.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by julien@...
2007-01-12T08:48:12+00:00
PHP: Irrelevant OS:  Package Version: 1.1.0

Description:
------------
It would be nice a nice feature to include automatic numbering of headers in the TOC and Headings of the Xhtml renderer.
 Eg.

 1. General
 1.1 Scope
 1.1.1 Extent
 1.1.2 Structure
 1.2 Normative References
 1.3 Definitions

Patches are available at http://julien.grecom.nl/pear/.</pre>]]></description>
      <dc:date>2007-01-12T08:48:12+00:00</dc:date>
      <dc:creator>julien &amp;#x61;&amp;#116; grecom &amp;#x64;&amp;#111;&amp;#x74; nl</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/9384">
      <title>Text_Wiki: Feature/Change Request 9384 [Open] Don't add empty anchor # sign</title>
      <link>http://pear.php.net/bugs/9384</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by cweiske
2006-11-19T06:13:14+00:00
PHP: Irrelevant OS:  Package Version: 1.1.0

Description:
------------
Links always get an anchor sign &quot;#&quot; added, although there isn't any anchor used in the link (using Text_Wiki_MediaWiki parser). That it unnecessary.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by cweiske
2006-11-19T06:13:14+00:00
PHP: Irrelevant OS:  Package Version: 1.1.0

Description:
------------
Links always get an anchor sign &quot;#&quot; added, although there isn't any anchor used in the link (using Text_Wiki_MediaWiki parser). That it unnecessary.</pre>]]></description>
      <dc:date>2006-11-25T14:41:32+00:00</dc:date>
      <dc:creator>cweiske &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/9382">
      <title>Text_Wiki: Feature/Change Request 9382 [Open] Don't add class=&quot;&quot; if no css style given</title>
      <link>http://pear.php.net/bugs/9382</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by cweiske
2006-11-19T06:08:45+00:00
PHP: Irrelevant OS:  Package Version: 1.1.0

Description:
------------
Text_Wiki_Render_Xhtml_Anchor always adds an empty class=&quot;&quot; attribute even if no css class is given. That bloats code unnecessarily.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by cweiske
2006-11-19T06:08:45+00:00
PHP: Irrelevant OS:  Package Version: 1.1.0

Description:
------------
Text_Wiki_Render_Xhtml_Anchor always adds an empty class=&quot;&quot; attribute even if no css class is given. That bloats code unnecessarily.</pre>]]></description>
      <dc:date>2006-11-25T14:38:11+00:00</dc:date>
      <dc:creator>cweiske &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/9271">
      <title>Text_Wiki: Feature/Change Request 9271 [Open] Create a media descriptor</title>
      <link>http://pear.php.net/bugs/9271</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by mariogzuk@...
2006-11-08T09:28:42+00:00
PHP: Irrelevant OS: irrelevant Package Version: 1.1.0

Description:
------------
Hi,
It would be nice to have a [media] tag like in wikipedia to define a link to any file. It would also be nice to have an automatical mimetype detection in it to place a mimetype image after the link.

Thank you.

Test script:
---------------
[media data/test.pdf Describe me]
[media data/nothing.bin Binary]

Expected result:
----------------
&lt;a href=&quot;data/test.pdf&quot;&gt;Describe me &lt;img src=&quot;path/to/mimetypes/pdf.gif&quot;&gt;&lt;/a&gt;
&lt;a href=&quot;data/nothing.bin&quot;&gt;Binary &lt;img src=&quot;path/to/mimetypes/bin.gif&quot;&gt;&lt;/a&gt;

Actual result:
--------------
none</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by mariogzuk@...
2006-11-08T09:28:42+00:00
PHP: Irrelevant OS: irrelevant Package Version: 1.1.0

Description:
------------
Hi,
It would be nice to have a [media] tag like in wikipedia to define a link to any file. It would also be nice to have an automatical mimetype detection in it to place a mimetype image after the link.

Thank you.

Test script:
---------------
[media data/test.pdf Describe me]
[media data/nothing.bin Binary]

Expected result:
----------------
&lt;a href=&quot;data/test.pdf&quot;&gt;Describe me &lt;img src=&quot;path/to/mimetypes/pdf.gif&quot;&gt;&lt;/a&gt;
&lt;a href=&quot;data/nothing.bin&quot;&gt;Binary &lt;img src=&quot;path/to/mimetypes/bin.gif&quot;&gt;&lt;/a&gt;

Actual result:
--------------
none</pre>]]></description>
      <dc:date>2006-11-08T09:30:08+00:00</dc:date>
      <dc:creator>mariogzuk &amp;#x61;&amp;#116; technikz &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/8877">
      <title>Text_Wiki: Feature/Change Request 8877 [Open] Security issue: Preventing session hijacking</title>
      <link>http://pear.php.net/bugs/8877</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by lyric680-web@...
2006-10-06T09:29:15+00:00
PHP: 5.0.5 OS: Linux Package Version: 1.1.0

Description:
------------
When Text_Wiki is integrated in a site that allows a session id to be transmitted through urls the session id would also be sent to external sites through the referer by the users browser.

This can be prevented by using a local or external derefer (http://en.wikipedia.org/wiki/Dereferer).

For this all external urls like 'http://www.google.com' have to be translated to something like 'http://derefer.php?url=http://www.google.com'.

AFAIK Text_Wiki does not support such a translation yet.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by lyric680-web@...
2006-10-06T09:29:15+00:00
PHP: 5.0.5 OS: Linux Package Version: 1.1.0

Description:
------------
When Text_Wiki is integrated in a site that allows a session id to be transmitted through urls the session id would also be sent to external sites through the referer by the users browser.

This can be prevented by using a local or external derefer (http://en.wikipedia.org/wiki/Dereferer).

For this all external urls like 'http://www.google.com' have to be translated to something like 'http://derefer.php?url=http://www.google.com'.

AFAIK Text_Wiki does not support such a translation yet.</pre>]]></description>
      <dc:date>2006-10-06T11:03:22+00:00</dc:date>
      <dc:creator>lyric680-web &amp;#x61;&amp;#116; yahoo &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/8502">
      <title>Text_Wiki: Feature/Change Request 8502 [Open] XHTML renderer needs id encoder</title>
      <link>http://pear.php.net/bugs/8502</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by bjs5075@...
2006-08-18T08:43:36+00:00
PHP: 5.1.4 OS: Debian etch Package Version: CVS

Description:
------------
Because XHTML tag IDs must be valid XML IDs, they are a 
restricted subset of normal tag parameters. Text- or 
URI-encoding does *not* generate valid XML IDs.

I suggest that the render object have a method (similar to 
textEncode and urlEncode methods) for encoding XML IDs.

Here is a simple valid-tag-generator:
    /**
    * Default method to render ID names
    * NOTICE: This does not generate a unique mapping, 
simply a valid ID
    *
    * @access public
    * @param string $s the text to render
    * @return rendered text
    *
    */

    function idEncode($s)
    {
        $s = preg_replace('/[^A-Za-z0-9\.\-_:]+/', '_', 
$s); // All invalid characters replaced in groups
        $s = preg_replace('/^([^A-Za-z_:])/', '_\1', 
$s); // First char must be subset of valid
        return $s;
    }


Test script:
---------------
IDs:
9test
.what
-this:5
does%

Expected result:
----------------
_9test
_what
_this:5
does_

Actual result:
--------------
9test
.what
-this:5
does%</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by bjs5075@...
2006-08-18T08:43:36+00:00
PHP: 5.1.4 OS: Debian etch Package Version: CVS

Description:
------------
Because XHTML tag IDs must be valid XML IDs, they are a 
restricted subset of normal tag parameters. Text- or 
URI-encoding does *not* generate valid XML IDs.

I suggest that the render object have a method (similar to 
textEncode and urlEncode methods) for encoding XML IDs.

Here is a simple valid-tag-generator:
    /**
    * Default method to render ID names
    * NOTICE: This does not generate a unique mapping, 
simply a valid ID
    *
    * @access public
    * @param string $s the text to render
    * @return rendered text
    *
    */

    function idEncode($s)
    {
        $s = preg_replace('/[^A-Za-z0-9\.\-_:]+/', '_', 
$s); // All invalid characters replaced in groups
        $s = preg_replace('/^([^A-Za-z_:])/', '_\1', 
$s); // First char must be subset of valid
        return $s;
    }


Test script:
---------------
IDs:
9test
.what
-this:5
does%

Expected result:
----------------
_9test
_what
_this:5
does_

Actual result:
--------------
9test
.what
-this:5
does%</pre>]]></description>
      <dc:date>2006-08-18T09:09:17+00:00</dc:date>
      <dc:creator>bjs5075 &amp;#x61;&amp;#116; rit &amp;#x64;&amp;#111;&amp;#x74; edu</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/8482">
      <title>Text_Wiki: Feature/Change Request 8482 [Open] HTML Code surrounded by &lt;p&gt;</title>
      <link>http://pear.php.net/bugs/8482</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by ex-venom@...
2006-08-16T05:49:10+00:00
PHP: 5.1.4 OS:  Package Version: 1.1.0

Description:
------------
Hi I have Question about HTML in TextWiki

I use my own syntax for replacing IMG Tags. Similar to wiki syntax my img is replaced by the Image and its DB stored Image Description in a &lt;div&gt; Layer.

If I parse it I have a div Container in p Block, which is unvalid html. So I thought, replace my syntax with wiki code and than let it parse by text wiki.

Is it possible to do HTML, which is not surrounded by a &lt;p&gt;? Or is there a way that my own IMG Tag is ignored so that there is just my Text and no &lt;p&gt; block surrounded?</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by ex-venom@...
2006-08-16T05:49:10+00:00
PHP: 5.1.4 OS:  Package Version: 1.1.0

Description:
------------
Hi I have Question about HTML in TextWiki

I use my own syntax for replacing IMG Tags. Similar to wiki syntax my img is replaced by the Image and its DB stored Image Description in a &lt;div&gt; Layer.

If I parse it I have a div Container in p Block, which is unvalid html. So I thought, replace my syntax with wiki code and than let it parse by text wiki.

Is it possible to do HTML, which is not surrounded by a &lt;p&gt;? Or is there a way that my own IMG Tag is ignored so that there is just my Text and no &lt;p&gt; block surrounded?</pre>]]></description>
      <dc:date>2006-08-16T05:49:10+00:00</dc:date>
      <dc:creator>ex-venom &amp;#x61;&amp;#116; gmx &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/8190">
      <title>Text_Wiki: Feature/Change Request 8190 [Open] TOC enclosing block fix</title>
      <link>http://pear.php.net/bugs/8190</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by bjs5075@...
2006-07-11T16:01:35+00:00
PHP: 5.1.4 OS: Debian etch Package Version: CVS

Description:
------------
The container for the table-of-contents block should be either a &lt;table&gt; or a &lt;div&gt;, but not both. The current method can't apply given styles to the &lt;div&gt; if it is enclosed within the table.
This patch gives the TOC a single enclosing element and applies the style to that element, so that you can have things like right-aligned floating TOC blocks. It does not change the interface to the TOC markup/stylesheet.


--- Render/Xhtml/Toc.php~       2006-07-11 09:11:55.000000000 -0400
+++ Render/Xhtml/Toc.php        2006-07-11 09:22:21.000000000 -0400
@@ -60,14 +60,15 @@
             $css = $this-&gt;getConf('css_list');
             $html = '';

-            // collapse div within a table?
+            // container is collapsed in table or div
             if ($this-&gt;getConf('collapse')) {
-                $html .= '&lt;table border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;';
-                $html .= &quot;&lt;tr&gt;&lt;td&gt;\n&quot;;
+                $html .= '&lt;table border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;';
+            }
+            else {
+                $html .= '&lt;div';
             }

-            // add the div, class, and id
-            $html .= '&lt;div';
+            // add the container class and id
             if ($css) {
                 $html .= &quot; class=&quot;$css&quot;&quot;;
             }
@@ -77,16 +78,21 @@
                 $html .= &quot; id=&quot;$div_id&quot;&quot;;
             }

-            // add the title, and done
+            // close the container's header
             $html .= '&gt;';
+            if ($this-&gt;getConf('collapse')) {
+                $html .= &quot;&lt;tr&gt;&lt;td&gt;\n&quot;;
+            }
+
+            // add the title, and done
             $html .= $this-&gt;getConf('title');
             return $html;
             break;

         case 'list_end':
-               if ($this-&gt;getConf('collapse')) {
-                   return &quot;\n&lt;/div&gt;\n&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;\n\n&quot;;
-               } else {
+            if ($this-&gt;getConf('collapse')) {
+                return &quot;\n&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;\n\n&quot;;
+            } else {
                 return &quot;\n&lt;/div&gt;\n\n&quot;;
             }
             break;</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by bjs5075@...
2006-07-11T16:01:35+00:00
PHP: 5.1.4 OS: Debian etch Package Version: CVS

Description:
------------
The container for the table-of-contents block should be either a &lt;table&gt; or a &lt;div&gt;, but not both. The current method can't apply given styles to the &lt;div&gt; if it is enclosed within the table.
This patch gives the TOC a single enclosing element and applies the style to that element, so that you can have things like right-aligned floating TOC blocks. It does not change the interface to the TOC markup/stylesheet.


--- Render/Xhtml/Toc.php~       2006-07-11 09:11:55.000000000 -0400
+++ Render/Xhtml/Toc.php        2006-07-11 09:22:21.000000000 -0400
@@ -60,14 +60,15 @@
             $css = $this-&gt;getConf('css_list');
             $html = '';

-            // collapse div within a table?
+            // container is collapsed in table or div
             if ($this-&gt;getConf('collapse')) {
-                $html .= '&lt;table border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;&gt;';
-                $html .= &quot;&lt;tr&gt;&lt;td&gt;\n&quot;;
+                $html .= '&lt;table border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;';
+            }
+            else {
+                $html .= '&lt;div';
             }

-            // add the div, class, and id
-            $html .= '&lt;div';
+            // add the container class and id
             if ($css) {
                 $html .= &quot; class=&quot;$css&quot;&quot;;
             }
@@ -77,16 +78,21 @@
                 $html .= &quot; id=&quot;$div_id&quot;&quot;;
             }

-            // add the title, and done
+            // close the container's header
             $html .= '&gt;';
+            if ($this-&gt;getConf('collapse')) {
+                $html .= &quot;&lt;tr&gt;&lt;td&gt;\n&quot;;
+            }
+
+            // add the title, and done
             $html .= $this-&gt;getConf('title');
             return $html;
             break;

         case 'list_end':
-               if ($this-&gt;getConf('collapse')) {
-                   return &quot;\n&lt;/div&gt;\n&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;\n\n&quot;;
-               } else {
+            if ($this-&gt;getConf('collapse')) {
+                return &quot;\n&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;\n\n&quot;;
+            } else {
                 return &quot;\n&lt;/div&gt;\n\n&quot;;
             }
             break;</pre>]]></description>
      <dc:date>2006-07-11T16:01:35+00:00</dc:date>
      <dc:creator>bjs5075 &amp;#x61;&amp;#116; rit &amp;#x64;&amp;#111;&amp;#x74; edu</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/7929">
      <title>Text_Wiki: Feature/Change Request 7929 [Open] Image should support same link style as wikilink</title>
      <link>http://pear.php.net/bugs/7929</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by bjs5075@...
2006-06-16T12:54:59+00:00
PHP: 5.1.2 OS: Debian etch Package Version: 1.1.0

Description:
------------
It would be simple and backwards-compatable to have image 'src' links be generated in the same style as wikilink 'href' links. This allows images to be generated dynamically with request parameters just as pages are now.
Here is a diff that will make the requested change:

--- Image.php-old	2006-02-10 18:07:03.000000000 -0500
+++ Image.php	2006-06-16 13:42:19.000000000 -0400
@@ -53,9 +53,19 @@
 
         // is the source a local file or URL?
         if (strpos($src, '://') === false) {
-            // the source refers to a local file.
-            // add the URL base to it.
-            $src = $this-&gt;getConf('base', '/') . $src;
+            // link to the image view, but we have to build
+            // the SRC.  we support both the old form where
+            // the image always comes at the end, and the new
+            // form that uses %s for sprintf()
+            $pattern = $this-&gt;getConf('base');
+
+            if (strpos($pattern, '%s') === false) {
+                // use the old form (image-at-end)
+                $src = $pattern . $src;
+            } else {
+                // use the new form (sprintf format string)
+                $src = sprintf($pattern, $src);
+            }
         }
 
         // stephane@metacites.net</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by bjs5075@...
2006-06-16T12:54:59+00:00
PHP: 5.1.2 OS: Debian etch Package Version: 1.1.0

Description:
------------
It would be simple and backwards-compatable to have image 'src' links be generated in the same style as wikilink 'href' links. This allows images to be generated dynamically with request parameters just as pages are now.
Here is a diff that will make the requested change:

--- Image.php-old	2006-02-10 18:07:03.000000000 -0500
+++ Image.php	2006-06-16 13:42:19.000000000 -0400
@@ -53,9 +53,19 @@
 
         // is the source a local file or URL?
         if (strpos($src, '://') === false) {
-            // the source refers to a local file.
-            // add the URL base to it.
-            $src = $this-&gt;getConf('base', '/') . $src;
+            // link to the image view, but we have to build
+            // the SRC.  we support both the old form where
+            // the image always comes at the end, and the new
+            // form that uses %s for sprintf()
+            $pattern = $this-&gt;getConf('base');
+
+            if (strpos($pattern, '%s') === false) {
+                // use the old form (image-at-end)
+                $src = $pattern . $src;
+            } else {
+                // use the new form (sprintf format string)
+                $src = sprintf($pattern, $src);
+            }
         }
 
         // stephane@metacites.net</pre>]]></description>
      <dc:date>2006-06-16T12:54:59+00:00</dc:date>
      <dc:creator>bjs5075 &amp;#x61;&amp;#116; rit &amp;#x64;&amp;#111;&amp;#x74; edu</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/7754">
      <title>Text_Wiki: Feature/Change Request 7754 [Open] ignorant urlEncode</title>
      <link>http://pear.php.net/bugs/7754</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by nils@...
2006-05-29T13:16:38+00:00
PHP: Irrelevant OS: Windows Package Version: 1.1.0

Description:
------------
urlEncode does a rawurlencode even if in some situations some special characters (i.e. a slash) shouldn't be encoded.

Some option to &quot;enable subpages&quot; or a urlEncode-whitelist would be nice to fix this.

Test script:
---------------
not really necessary

Expected result:
----------------
&lt;a href=&quot;page/subpage&quot;&gt;subpage&lt;/a&gt;

Actual result:
--------------
&lt;a href=&quot;page%2Fsubpage&quot;&gt;subpage&lt;/a&gt;</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by nils@...
2006-05-29T13:16:38+00:00
PHP: Irrelevant OS: Windows Package Version: 1.1.0

Description:
------------
urlEncode does a rawurlencode even if in some situations some special characters (i.e. a slash) shouldn't be encoded.

Some option to &quot;enable subpages&quot; or a urlEncode-whitelist would be nice to fix this.

Test script:
---------------
not really necessary

Expected result:
----------------
&lt;a href=&quot;page/subpage&quot;&gt;subpage&lt;/a&gt;

Actual result:
--------------
&lt;a href=&quot;page%2Fsubpage&quot;&gt;subpage&lt;/a&gt;</pre>]]></description>
      <dc:date>2006-06-16T11:29:43+00:00</dc:date>
      <dc:creator>nils &amp;#x61;&amp;#116; phoque &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/7717">
      <title>Text_Wiki: Feature/Change Request 7717 [Open] Image renderer: Remove getimagesize call or make it optional</title>
      <link>http://pear.php.net/bugs/7717</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by chagenbu
2006-05-24T10:52:30+00:00
PHP: 5.1.4 OS: All Package Version: 1.1.0

Description:
------------
I was rather surprised, when tracking down an unrelated bug, to find that Text_Wiki was generating requests when rendering images. Finally tracked it down to the getimagesize() call in the Image Xhtml renderer. I'd prefer to simply remove this, letting the user fetch the size of images if they want to, but at the least I think this should be configurable. Probably turned off by default, too.

Test script:
---------------
n/a</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by chagenbu
2006-05-24T10:52:30+00:00
PHP: 5.1.4 OS: All Package Version: 1.1.0

Description:
------------
I was rather surprised, when tracking down an unrelated bug, to find that Text_Wiki was generating requests when rendering images. Finally tracked it down to the getimagesize() call in the Image Xhtml renderer. I'd prefer to simply remove this, letting the user fetch the size of images if they want to, but at the least I think this should be configurable. Probably turned off by default, too.

Test script:
---------------
n/a</pre>]]></description>
      <dc:date>2006-05-24T10:52:30+00:00</dc:date>
      <dc:creator>chuck &amp;#x61;&amp;#116; horde &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/7619">
      <title>Text_Wiki: Feature/Change Request 7619 [Open] Titles for lists</title>
      <link>http://pear.php.net/bugs/7619</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by michael@...
2006-05-13T06:29:51+00:00
PHP: Irrelevant OS:  Package Version: 1.1.0

Description:
------------
Together with webnauts.net, I am trying to improve the accessibility of some web sites (for the Biene 2006 contest). The only thing that I can't implement yet, are titles for lists rendered by Text_Wiki (ul, ol):

&lt;ul title=&quot;example&quot;&gt;
&lt;li&gt;..&lt;/li&gt;
&lt;/ul&gt;

A possible syntax would be

: Vehicles
* Train
* Car
* Bike

Or we just use the title of the last heading. Ideas welcome!

You can contact me, if you're also working on accessible Web sites that use Text_Wiki, so that we can share our experience :)

This request should already have been posted by toggg on the pear-dev list.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by michael@...
2006-05-13T06:29:51+00:00
PHP: Irrelevant OS:  Package Version: 1.1.0

Description:
------------
Together with webnauts.net, I am trying to improve the accessibility of some web sites (for the Biene 2006 contest). The only thing that I can't implement yet, are titles for lists rendered by Text_Wiki (ul, ol):

&lt;ul title=&quot;example&quot;&gt;
&lt;li&gt;..&lt;/li&gt;
&lt;/ul&gt;

A possible syntax would be

: Vehicles
* Train
* Car
* Bike

Or we just use the title of the last heading. Ideas welcome!

You can contact me, if you're also working on accessible Web sites that use Text_Wiki, so that we can share our experience :)

This request should already have been posted by toggg on the pear-dev list.</pre>]]></description>
      <dc:date>2006-05-13T06:29:51+00:00</dc:date>
      <dc:creator>michael &amp;#x61;&amp;#116; liquidbytes &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/6133">
      <title>Text_Wiki: Feature/Change Request 6133 [Assigned] Add support for PDF rendering</title>
      <link>http://pear.php.net/bugs/6133</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by kevin_myer@...
2005-12-02T15:06:10+00:00
PHP: 4.3.9 OS: Linux (RHEL) Package Version: 

Description:
------------
This would be an enhancement request to extend Text_Wiki so that it would render markup directly to PDF.  A site could then provide an electronic version of text online, and use the PDF method to generate a document from the same base.  There are scattered references to PDF in the Text_Wiki class documentation (under the $formatConf and $renderConf variable documentation), but I'm assuming those are simply examples of how the variables would be used if a PDF rendering option existed.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by kevin_myer@...
2005-12-02T15:06:10+00:00
PHP: 4.3.9 OS: Linux (RHEL) Package Version: 

Description:
------------
This would be an enhancement request to extend Text_Wiki so that it would render markup directly to PDF.  A site could then provide an electronic version of text online, and use the PDF method to generate a document from the same base.  There are scattered references to PDF in the Text_Wiki class documentation (under the $formatConf and $renderConf variable documentation), but I'm assuming those are simply examples of how the variables would be used if a PDF rendering option existed.</pre>]]></description>
      <dc:date>2006-02-23T07:20:37+00:00</dc:date>
      <dc:creator>kevin_myer &amp;#x61;&amp;#116; iu13 &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/4291">
      <title>Text_Wiki: Feature/Change Request 4291 [Open] Allow formatting inside WikiLinks descriptions</title>
      <link>http://pear.php.net/bugs/4291</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by justinpatrin
2005-05-05T12:58:20+00:00
PHP: 4.3.10 OS: Linux Package Version: 

Description:
------------
Argh, since Text_Wiki is stable this will likely be a BC break that can't happen right now, but...

I've created a patch which allows WikiLink descriptions to include further wiki syntax. Such as:

[SomePage some '''bold''' page]

http://pear.reversefold.com/Text/Wiki/WikiLink.formatting.patch

This patch takes care of the Default parser as well as the XHtml, LaTeX, and Plain renderers. This is done same as lists ot tables, making the start and end of the link tokens instead of putting the whole thing in.

This also changes the parse rule slightly to only include 'text' if the text is different than the page name. I suppose this could be put back as it was and you can make the renderers check 'page' vs. 'text'..I just figured it's nice to know if the text is the page name or not.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by justinpatrin
2005-05-05T12:58:20+00:00
PHP: 4.3.10 OS: Linux Package Version: 

Description:
------------
Argh, since Text_Wiki is stable this will likely be a BC break that can't happen right now, but...

I've created a patch which allows WikiLink descriptions to include further wiki syntax. Such as:

[SomePage some '''bold''' page]

http://pear.reversefold.com/Text/Wiki/WikiLink.formatting.patch

This patch takes care of the Default parser as well as the XHtml, LaTeX, and Plain renderers. This is done same as lists ot tables, making the start and end of the link tokens instead of putting the whole thing in.

This also changes the parse rule slightly to only include 'text' if the text is different than the page name. I suppose this could be put back as it was and you can make the renderers check 'page' vs. 'text'..I just figured it's nice to know if the text is the page name or not.</pre>]]></description>
      <dc:date>2005-05-06T01:11:05+00:00</dc:date>
      <dc:creator>justinpatrin &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/4230">
      <title>Text_Wiki: Feature/Change Request 4230 [Assigned] [Patch] Use Text_Highlighter in &quot;code&quot; rule</title>
      <link>http://pear.php.net/bugs/4230</link>
      <content:encoded><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by davey
2005-04-26T20:28:39+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 

Description:
------------
Hey,

Here is a patch to utilize Text_Highlighter in the &lt;code&gt; blocks. The tags don't change, but a lot more type=&quot;&quot;'s are supported :)

Get the patch at: 
http://www.pixelated-dreams.com/~davey/PEAR/patches/Text_Wiki_Render_Xhtml_Code.txt

It allows highlighting of all the types that Text_Highlighter currently supports.

The code is similar to that which I wrote for hashphp.org's pastebin. It has some small conveniences, like translating the C++ type to the CPP highlighter. Aswell as converting plain text (i.e. no type) to preformated with line numbers (using &lt;ol&gt;).

I don't know the code of Text_Wiki well enough, but I think it would be nice if the user could set an option to explicitly to use this code, so that the Text_Highlighter dependency is optional and that the CSS that is required is known to be needed.

- Davey

P.S.
You need the CSS here from .hl-main down. Uncomment .hl-table. This'd be great in YaWiki, which is where I use it, see an example here: http://www.crtx.org/index.php?area=Main&amp;page=CrtxForm</pre>]]></content:encoded>
      <description><![CDATA[<pre>Text_Wiki Feature/Change Request
Reported by davey
2005-04-26T20:28:39+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 

Description:
------------
Hey,

Here is a patch to utilize Text_Highlighter in the &lt;code&gt; blocks. The tags don't change, but a lot more type=&quot;&quot;'s are supported :)

Get the patch at: 
http://www.pixelated-dreams.com/~davey/PEAR/patches/Text_Wiki_Render_Xhtml_Code.txt

It allows highlighting of all the types that Text_Highlighter currently supports.

The code is similar to that which I wrote for hashphp.org's pastebin. It has some small conveniences, like translating the C++ type to the CPP highlighter. Aswell as converting plain text (i.e. no type) to preformated with line numbers (using &lt;ol&gt;).

I don't know the code of Text_Wiki well enough, but I think it would be nice if the user could set an option to explicitly to use this code, so that the Text_Highlighter dependency is optional and that the CSS that is required is known to be needed.

- Davey

P.S.
You need the CSS here from .hl-main down. Uncomment .hl-table. This'd be great in YaWiki, which is where I use it, see an example here: http://www.crtx.org/index.php?area=Main&amp;page=CrtxForm</pre>]]></description>
      <dc:date>2005-05-29T13:56:26+00:00</dc:date>
      <dc:creator>davey &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Text_Wiki Feature/Change Request</dc:subject>
    </item>
</rdf:RDF>
