function XBBCodeTagMatch::revert in Extensible BBCode 7
File
- ./
xbbcode.filter.inc, line 196 - The filtering class. This will be instanced for each filter, and then called to process a piece of text.
Class
Code
function revert($text) {
$this->content = substr($text, $this->start + strlen($this->element), $this->offset - $this->start - strlen($this->element));
}