|
@@ 2560-2570 (lines=11) @@
|
| 2557 |
|
elseif ($tag['type'] == 'unparsed_equals_content') |
| 2558 |
|
{ |
| 2559 |
|
// The value may be quoted for some tags - check. |
| 2560 |
|
if (isset($tag['quoted'])) |
| 2561 |
|
{ |
| 2562 |
|
$quoted = substr($message, $pos1, 6) == '"'; |
| 2563 |
|
if ($tag['quoted'] != 'optional' && !$quoted) |
| 2564 |
|
continue; |
| 2565 |
|
|
| 2566 |
|
if ($quoted) |
| 2567 |
|
$pos1 += 6; |
| 2568 |
|
} |
| 2569 |
|
else |
| 2570 |
|
$quoted = false; |
| 2571 |
|
|
| 2572 |
|
$pos2 = strpos($message, $quoted == false ? ']' : '"]', $pos1); |
| 2573 |
|
if ($pos2 === false) |
|
@@ 2656-2666 (lines=11) @@
|
| 2653 |
|
elseif ($tag['type'] == 'unparsed_equals' || $tag['type'] == 'parsed_equals') |
| 2654 |
|
{ |
| 2655 |
|
// The value may be quoted for some tags - check. |
| 2656 |
|
if (isset($tag['quoted'])) |
| 2657 |
|
{ |
| 2658 |
|
$quoted = substr($message, $pos1, 6) == '"'; |
| 2659 |
|
if ($tag['quoted'] != 'optional' && !$quoted) |
| 2660 |
|
continue; |
| 2661 |
|
|
| 2662 |
|
if ($quoted) |
| 2663 |
|
$pos1 += 6; |
| 2664 |
|
} |
| 2665 |
|
else |
| 2666 |
|
$quoted = false; |
| 2667 |
|
|
| 2668 |
|
$pos2 = strpos($message, $quoted == false ? ']' : '"]', $pos1); |
| 2669 |
|
if ($pos2 === false) |