Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.2.0

Bug #16455 Failure to parse italic and bold in some cases
Submitted: 2009-07-21 14:50 UTC
From: rodrigosprimo Assigned: rodrigosprimo
Status: Closed Package: Text_Wiki_Mediawiki (version CVS)
PHP Version: 5.2.5 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2009-07-21 14:50 UTC] rodrigosprimo (Rodrigo Sampaio Primo)
Description: ------------ The actual version of the Text_Wiki_Mediawiki package is not able to parse all the valid (by valid I mean that are parsed by the official Mediawiki parser) combinations of bold and italic syntax. In some cases it will ignore part of the syntax and in some cases it will parse then wrongly and generate a "Unbalanced tokens" error. Examples: 1) ''italic '''bold and italic''' italic'' 2) '''''italic and bold'' and then bold''' When transforming the number 1 to XHTML the output is: <em>italic '</em>bold and italic<em>' italic</em> When it should be: <em>italic <strong>bold and italic</strong> italic</em> The second example produces an "Unbalanced tokens" error.

Comments

 [2009-07-24 06:09 UTC] rodrigosprimo (Rodrigo Sampaio Primo)
-Status: Open +Status: Closed -Assigned To: +Assigned To: rodrigosprimo
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.