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

Bug #1729 With the new Anchor parsing ColorText is not shown
Submitted: 2004-06-27 22:43 UTC
From: paul at kungfoocoder dot org Assigned: pmjones
Status: Closed Package: Text_Wiki
PHP Version: 4.3.4 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2004-06-27 22:43 UTC] paul at kungfoocoder dot org
Description: ------------ Basically the problem is simply that the URL parsing is done before the ColorTewxt parsing in the default rules list, this means that ##red|red text## is interpreted as a link to the anchor #red|red... this can be easily fixed by moving the ColorText Parser before the URL parser in the rules array.

Comments

 [2004-06-27 23:31 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2004-06-28 15:41 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2004-06-28 18:43 UTC] paul at kungfoocoder dot org
Well, for my own thoughts, I think that this is a perfectly acceptable solution. What may also be usefulis some way to easily automatically generate a list of overlapping regexes, so that this sort of thing can be more easily detected, since (as you say) the order of matching should not be important.
 [2004-06-28 23:14 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!