mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Fix #256
This commit is contained in:
@@ -237,7 +237,7 @@ class Tag extends \ArrayObject
|
||||
*/
|
||||
public function cutContent()
|
||||
{
|
||||
$content = substr($this->_body, $this->_offset + 1);
|
||||
$content = substr($this->_body, $this->_offset);
|
||||
$this->_body = substr($this->_body, 0, $this->_offset);
|
||||
return $content;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user