for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace dokuwiki\ParserMode;
class Html extends AbstractMode
{
/** @inheritdoc */
public function connectTo($mode)
$this->Lexer->addEntryPattern('<html>(?=.*</html>)', $mode, 'html');
$this->Lexer->addEntryPattern('<HTML>(?=.*</HTML>)', $mode, 'htmlblock');
}
public function postConnect()
$this->Lexer->addExitPattern('</html>', 'html');
$this->Lexer->addExitPattern('</HTML>', 'htmlblock');
public function getSort()
return 190;