inline.module does not recognize multiple [inline] tags
matteo - December 24, 2004 - 07:59
| Project: | Inline |
| Version: | 4.6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | matteo |
| Status: | closed |
Jump to:
Description
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.

#1