Changeset 3752:5b508fcc60c0
- Timestamp:
- 04/14/18 11:23:07 (6 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/public/lib.tpl.context.php
r3731 r3752 360 360 foreach ($def as $v) { 361 361 $v = trim($v); 362 if (preg_match('|^([^\t ]*)[\t]+(.*)$|', $v, $matches)) {362 if (preg_match('|^([^\t\s]*)[\t\s]+(.*)$|', $v, $matches)) { 363 363 $r = '/(\G|[\s]+|>)(' . preg_quote($matches[1], '/') . ')([\s]+|[<]|\Z)/ms'; 364 364 $s = '$1<img src="' . $url . $matches[2] . '" ' .
Note: See TracChangeset
for help on using the changeset viewer.