lib/Skriv/Markup/DocBook/Config.php
public function onParse($finalText) {
		// if a specific post-parse function was defined, it is called
		$func = $this->getParam('postParseFunction');
		if (isset($func))
			$finalText = $func($finalText);
		// add footnotes' content if needed
		if ($this->getParam('addFootnotes')) {
			$footnotes = $this->getFootnotes();
			if (!empty($footnotes))
				$finalText .= "\n" . $footnotes;
		}
		// ???
		$finalText .= str_repeat('</section>', count($this->_sectionLevel));
		return ($finalText);
	}
public function onParse($finalText) {
		// if a specific post-parse function was defined, it is called
		$func = $this->getParam('postParseFunction');
		if (isset($func))
			$finalText = $func($finalText);
		// add footnotes' content if needed
		if ($this->getParam('addFootnotes')) {
			$footnotes = $this->getFootnotes();
			if (!empty($footnotes))
				$finalText .= "\n" . $footnotes;
		}
		// ???
		$finalText .= str_repeat('</section>', count($this->_sectionLevel));
		return ($finalText);
	}
Method called for post-parse processing.
@param	string	$finalText	The generated text.
@return	string	The text after post-processing.