|
@@ 197-199 (lines=3) @@
|
| 194 |
|
$value = ''; |
| 195 |
|
|
| 196 |
|
if($this->match(self::TOKEN_DELIMITER, false)) { |
| 197 |
|
while($this->position < $this->tokensCount && false === $this->lookahead(self::TOKEN_DELIMITER)) { |
| 198 |
|
$value .= $this->match(null, false); |
| 199 |
|
} |
| 200 |
|
|
| 201 |
|
return $this->match(self::TOKEN_DELIMITER, false) ? $value : false; |
| 202 |
|
} |
|
@@ 112-114 (lines=3) @@
|
| 109 |
|
$closingName = null; |
| 110 |
|
|
| 111 |
|
while($this->position < $this->tokensCount) { |
| 112 |
|
while($this->position < $this->tokensCount && false === $this->lookahead(self::TOKEN_OPEN)) { |
| 113 |
|
$content .= $this->match(null, true); |
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
$this->beginBacktrack(); |
| 117 |
|
$contentMatchedShortcodes = $this->shortcode($names); |