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