|
@@ 2358-2368 (lines=11) @@
|
| 2355 |
|
elseif ($tag['type'] == 'unparsed_equals_content') |
| 2356 |
|
{ |
| 2357 |
|
// The value may be quoted for some tags - check. |
| 2358 |
|
if (isset($tag['quoted'])) |
| 2359 |
|
{ |
| 2360 |
|
$quoted = substr($message, $pos1, 6) == '"'; |
| 2361 |
|
if ($tag['quoted'] != 'optional' && !$quoted) |
| 2362 |
|
continue; |
| 2363 |
|
|
| 2364 |
|
if ($quoted) |
| 2365 |
|
$pos1 += 6; |
| 2366 |
|
} |
| 2367 |
|
else |
| 2368 |
|
$quoted = false; |
| 2369 |
|
|
| 2370 |
|
$pos2 = strpos($message, $quoted == false ? ']' : '"]', $pos1); |
| 2371 |
|
if ($pos2 === false) |
|
@@ 2454-2464 (lines=11) @@
|
| 2451 |
|
elseif ($tag['type'] == 'unparsed_equals' || $tag['type'] == 'parsed_equals') |
| 2452 |
|
{ |
| 2453 |
|
// The value may be quoted for some tags - check. |
| 2454 |
|
if (isset($tag['quoted'])) |
| 2455 |
|
{ |
| 2456 |
|
$quoted = substr($message, $pos1, 6) == '"'; |
| 2457 |
|
if ($tag['quoted'] != 'optional' && !$quoted) |
| 2458 |
|
continue; |
| 2459 |
|
|
| 2460 |
|
if ($quoted) |
| 2461 |
|
$pos1 += 6; |
| 2462 |
|
} |
| 2463 |
|
else |
| 2464 |
|
$quoted = false; |
| 2465 |
|
|
| 2466 |
|
$pos2 = strpos($message, $quoted == false ? ']' : '"]', $pos1); |
| 2467 |
|
if ($pos2 === false) |