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)    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 45 + 37 = ?

 [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.


 [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 by the end of next Sunday (CET). If this was a problem with the 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.