Changeset 887 for trunk/HTML/BBCodeParser2.php
- Timestamp:
- Dec 27, 2022, 2:34:03 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HTML/BBCodeParser2.php
r815 r887 482 482 foreach ($this->_tagArray as $tag) { 483 483 $prevTag = end($newTagArray); 484 485 // TODO: why prevTag cann by type bool? 486 if (!is_array($prevTag)) continue; 487 484 488 switch ($tag['type']) { 485 489 case 0: … … 500 504 $openTags[] = $child['tag']; 501 505 } 506 502 507 if ($prevTag['type'] === 0) { 503 508 $tag['text'] = $prevTag['text'].$tag['text'];
Note:
See TracChangeset
for help on using the changeset viewer.