* Added preProcess event to HtmlOutputNodeProcessor
Added possibility for plugins to change html output on every request (like it is done with keywords highlighting)
* Changed event name in HtmlOutputNodeProcessor
namespace wcf\system\html\output\node;
use wcf\system\bbcode\HtmlBBCodeParser;
use wcf\system\bbcode\KeywordHighlighter;
+use wcf\system\event\EventHandler;
use wcf\system\html\node\AbstractHtmlNodeProcessor;
use wcf\system\html\node\IHtmlNode;
use wcf\util\DOMUtil;
* @inheritDoc
*/
public function process() {
+ // fire event action
+ EventHandler::getInstance()->fireAction($this, 'beforeProcess');
+
// highlight keywords
$this->highlightKeywords();