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

Request #14348 Adding width and height to images
Submitted: 2008-07-14 20:36 UTC
From: olatho Assigned: ritzmo
Status: Closed Package: Text_Wiki_Mediawiki (version 0.1.0)
PHP Version: 5.2.6 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


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 : 22 - 20 = ?

 
 [2008-07-14 20:36 UTC] olatho (Ola Thoresen)
Description: ------------ The following patch adds width and height to images on the form [Image: url | 100px] (for width only) and [Image: url | 100x200px] for both.

Comments

 [2009-04-16 21:10 UTC] ritzmo (Moritz Venn)
-Status: Open +Status: Closed -Assigned To: +Assigned To: ritzmo
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net 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. I reimplemented it (though I reused parts of you patch) and used a more regex that should ignore some common mistakes a user would make (e.g. one or more whitespaces after px which your code denied) and also fixes possible errors when the alt ended with px (which your code would have assumed to be the image size).