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

Request #4520 Additional space confuses image tag
Submitted: 2005-06-03 09:24 UTC
From: strauchdieb at gmx dot de Assigned: toggg
Status: Closed Package: Text_Wiki
PHP Version: 4.3.9 OS: Irrelevant
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 : 46 + 20 = ?

 [2005-06-03 09:24 UTC] strauchdieb at gmx dot de
Description: ------------ If you type [[image img.png]] (two spaces between image an d img.png) you get an empty src attribute. Reproduce code: --------------- The solution: Change line 67 of parse/Image.php from $pos = strpos($matches[2], ' '); to $pos = strpos(trim($matches[2]), ' ');


 [2005-07-16 08:15 UTC] toggg
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on In case this was a website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. The regexp has been adapted to mache one or more spaces after [[image