dockerwiki/content/inc/Parsing/ParserMode/Linebreak.php

20 lines
335 B
PHP
Raw Normal View History

2021-10-26 13:02:53 +02:00
<?php
namespace dokuwiki\Parsing\ParserMode;
class Linebreak extends AbstractMode
{
/** @inheritdoc */
public function connectTo($mode)
{
$this->Lexer->addSpecialPattern('\x5C{2}(?:[ \t]|(?=\n))', $mode, 'linebreak');
}
/** @inheritdoc */
public function getSort()
{
return 140;
}
}