Home » HTML » HTML_BBCodeParser » Bug #6303
IMG tags incorrect
Details
| Submitted | 2005-12-20 17:20 UTC |
|---|---|
| From | anders at norrbring dot se |
| Assigned | dufuz |
| Status | Closed |
| Package | HTML_BBCodeParser |
| PHP Version | 5.0.4 |
| Roadmaps | (Not assigned) |
Comments
[2005-12-20 17:20 UTC] anders at norrbring dot se
Description:
------------
This is using seth's version downloaded from bug 4844.
Neither of the proposed img tags works for me,
Input to parser:
[img]http://www.server.org/image.jpg[/img]
[img w=100 h=200]http://www.server.org/image.jpg[/img]
Not very useful...
Expected result:
----------------
<img src='http://www.server.org/image.jpg' />
<img src='http://www.server.org/image.jpg' width='100' height='200' />
Actual result:
--------------
[img=<a href='http://www.server.org/image.jpg'>http://www.server.org/image.jpg</a>][/img]
[img=<a href='http://www.server.org/image.jpg'>http://www.server.org/image.jpg</a> w=100 h=200][/img]
[2006-01-19 16:01 UTC] seth at pricepages dot org
Fixed:
http://pricepages.org/bbcode/BBCodeParser.zip
It was a problem with the order the filters were applied in,
which made it a particularly annoying bug. (hard to
reproduce)
Maybe I should apply to be maintainer of this package so I
get bug reports in a timely manner...