mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-29 02:24:19 +00:00
c9de00aeff
Core strip markers were changed in T110143 to include characters that are normally encoded in attributes, however we want to pass them through here so they can be unstripped correctly in the output wikitext. This fix makes "Strip markers in CSS" parser test pass again. Bug: T110143 Bug: T135961 Change-Id: I1353931a53c668d8a453dfa2300a99f59fdb01c5
12 lines
343 B
PHP
12 lines
343 B
PHP
<?php
|
|
|
|
// @codingStandardsIgnoreLine Squiz.Classes.ValidClassName.NotCamelCaps
|
|
class Scribunto_LuaHtmlLibrary extends Scribunto_LuaLibraryBase {
|
|
function register() {
|
|
return $this->getEngine()->registerInterface( 'mw.html.lua', array(), array(
|
|
'uniqPrefix' => Parser::MARKER_PREFIX,
|
|
'uniqSuffix' => Parser::MARKER_SUFFIX,
|
|
) );
|
|
}
|
|
}
|