|
@@ 2460-2470 (lines=11) @@
|
| 2457 |
|
elseif ($tag['type'] == 'unparsed_equals_content') |
| 2458 |
|
{ |
| 2459 |
|
// The value may be quoted for some tags - check. |
| 2460 |
|
if (isset($tag['quoted'])) |
| 2461 |
|
{ |
| 2462 |
|
$quoted = substr($message, $pos1, 6) == '"'; |
| 2463 |
|
if ($tag['quoted'] != 'optional' && !$quoted) |
| 2464 |
|
continue; |
| 2465 |
|
|
| 2466 |
|
if ($quoted) |
| 2467 |
|
$pos1 += 6; |
| 2468 |
|
} |
| 2469 |
|
else |
| 2470 |
|
$quoted = false; |
| 2471 |
|
|
| 2472 |
|
$pos2 = strpos($message, $quoted == false ? ']' : '"]', $pos1); |
| 2473 |
|
if ($pos2 === false) |
|
@@ 2556-2566 (lines=11) @@
|
| 2553 |
|
elseif ($tag['type'] == 'unparsed_equals' || $tag['type'] == 'parsed_equals') |
| 2554 |
|
{ |
| 2555 |
|
// The value may be quoted for some tags - check. |
| 2556 |
|
if (isset($tag['quoted'])) |
| 2557 |
|
{ |
| 2558 |
|
$quoted = substr($message, $pos1, 6) == '"'; |
| 2559 |
|
if ($tag['quoted'] != 'optional' && !$quoted) |
| 2560 |
|
continue; |
| 2561 |
|
|
| 2562 |
|
if ($quoted) |
| 2563 |
|
$pos1 += 6; |
| 2564 |
|
} |
| 2565 |
|
else |
| 2566 |
|
$quoted = false; |
| 2567 |
|
|
| 2568 |
|
$pos2 = strpos($message, $quoted == false ? ']' : '"]', $pos1); |
| 2569 |
|
if ($pos2 === false) |