|
|
|
@ -12,8 +12,8 @@ use Wikimedia\Parsoid\Utils\DOMCompat;
|
|
|
|
* @license GPL-2.0-or-later
|
|
|
|
* @license GPL-2.0-or-later
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
class ExtractFormatter extends HtmlFormatter {
|
|
|
|
class ExtractFormatter extends HtmlFormatter {
|
|
|
|
public const SECTION_MARKER_START = "<|startofsecion|>";
|
|
|
|
public const SECTION_MARKER_START = "\1\2";
|
|
|
|
public const SECTION_MARKER_END = "<|endofsection|>";
|
|
|
|
public const SECTION_MARKER_END = "\2\1";
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @var bool
|
|
|
|
* @var bool
|
|
|
|
|