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

Request #9384 Don't add empty anchor # sign
Submitted: 2006-11-19 11:13 UTC
From: cweiske Assigned:
Status: Open Package: Text_Wiki (version 1.1.0)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
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:
MUST BE VALID
Solve the problem : 44 - 21 = ?

 
 [2006-11-19 11:13 UTC] cweiske (Christian Weiske)
Description: ------------ Links always get an anchor sign "#" added, although there isn't any anchor used in the link (using Text_Wiki_MediaWiki parser). That it unnecessary.

Comments

 [2006-11-25 19:41 UTC] cweiske (Christian Weiske)
Patch for this Index: Text/Wiki/Render/Xhtml/Wikilink.php =================================================================== RCS file: /repository/pear/Text_Wiki/Text/Wiki/Render/Xhtml/Wikilink.php,v retrieving revision 1.21 diff -r1.21 Wikilink.php 83a84,86 > if ($anchor == '#') { > $anchor = ''; > }
 [2009-01-05 05:25 UTC] saviles (Sijis Aviles)
I'm using latest release 1.2.0 stable (version 1.22 of Wikilink.php file). I added the patch by cweiske and it has worked fantastically. I would suggest/recommend this be added to next release, if possible. Thanks for submitting the fix.