@@ 116-118 (lines=3) @@ | ||
113 | $closingName = null; |
|
114 | ||
115 | while($this->position < $this->tokensCount) { |
|
116 | while($this->position < $this->tokensCount && false === $this->lookahead(self::TOKEN_OPEN)) { |
|
117 | $content .= $this->match(null, true); |
|
118 | } |
|
119 | ||
120 | $this->beginBacktrack(); |
|
121 | $contentMatchedShortcodes = $this->shortcode($names); |
|
@@ 203-205 (lines=3) @@ | ||
200 | $value = ''; |
|
201 | ||
202 | if($this->match(self::TOKEN_DELIMITER, false)) { |
|
203 | while($this->position < $this->tokensCount && false === $this->lookahead(self::TOKEN_DELIMITER)) { |
|
204 | $value .= $this->match(null, false); |
|
205 | } |
|
206 | ||
207 | return $this->match(self::TOKEN_DELIMITER, false) ? $value : false; |
|
208 | } |