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

Bug #1299 Case sensitive in tag ?
Submitted: 2004-04-27 21:25 UTC
From: dryss at jeuxonline dot info Assigned: quipo
Status: Closed Package: HTML_BBCodeParser
PHP Version: 4.3.4 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2004-04-27 21:25 UTC] dryss at jeuxonline dot info
Description: ------------ (in order sorry for my bad english, i am french). After testing your script, i have a big problem : i cant use the tag with capital, only small letter : [url=http://www.google.com]Link[/url] is working [URL=http://www.google.com]Link[/url] dont work [url=http://www.google.com]Link[/URL] dont work The parser only parse tag with small letter. Is there an option to activate the parsing of capital tag ? It is very important for me, i have to activate this for the writters of my network who doesn't know HTML.

Comments

 [2004-10-18 13:40 UTC] zilla at gmx dot de
Had the same Problem. I fixed it by changing Line 316 in BBCodeParser.php from $newTag = $this->_buildTag(substr($str, $strPos, $closePos - $strPos + 1)); to $newTag = $this->_buildTag(strtolower(substr($str, $strPos, $closePos - $strPos + 1))); Hope it helps Nicole
 [2005-10-18 13:10 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!