Closed (fixed)
Project:
Inline
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
24 Dec 2004 at 07:59 UTC
Updated:
7 Jan 2005 at 08:15 UTC
If the text of a node contains multiple [inline] tags, garbage is displayed.
the problem was caused by wrong regular expression that tests the presence of inline tags inside text.
Here is the correct code:
if (preg_match_all("/\[(inline|file|attachment):(\d+)=?(.[^\]]*)\]/i", $node->body, $match)) {
Please download the latest (12-24-2004) version that contains the fix.
Comments
Comment #1
(not verified) commented