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

Bug #5660 bug in anchor parsing
Submitted: 2005-10-11 18:44 UTC
From: jeremy dot lecour at gmail dot com Assigned: toggg
Status: Closed Package: Text_Wiki
PHP Version: 4.4.1 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 : 40 - 30 = ?

 [2005-10-11 18:44 UTC] jeremy dot lecour at gmail dot com
Description: ------------ Hi, I'd like to make somme links with anchors. My settings : $wiki->disableRule("wikilink"); $wiki->setRenderConf('xhtml', 'freelink', 'pages', false); $wiki->setRenderConf('Xhtml', 'freelink', 'new_url', "/ go/"); $wiki->setRenderConf('Xhtml', 'freelink', 'view_url', "/ go/"); I want to send people to I have errors whan I type : ((page#anchor|go there)) I lose the # when I type : ((page|go there#anchor)) maybe it comes from here : File : /pear/lib/Text/Wiki/Parse/Default/Freelink.php Line 100 function process(&$matches) { // use nice variable names $page = $matches[1]; $text = $matches[2]; // get rid of the leading # from the anchor, if any $anchor = substr($matches[3], 1); (...) Why do we want to get ride of the # ? If i keep it, my links work as expected. I don't understand …


 [2005-10-19 23:46 UTC] toggg
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. Sorry for the delay, hope that is alright so. Salut au LUG provencial :)
 [2005-10-19 23:50 UTC] toggg
Pardon, provençal, sorry the PLUG