This commit is contained in:
bzick
2016-11-18 22:07:14 +03:00
parent 35455b761f
commit d139a1ebf3
2 changed files with 39 additions and 33 deletions

View File

@@ -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;
}