mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ImageMap
synced 2024-12-18 00:30:33 +00:00
2cc6549898
Previously XML parsing and serialization was used, causing `<br>` to be disallowed and `<br />` to turn into `<br></br>`. Also update some uses of XPath to use querySelector() helper. Bug: T113791 Change-Id: Ic2069015b4cbb5d05a72eb383052319048111623
15 lines
919 B
PHP
15 lines
919 B
PHP
<?php
|
|
class_alias( "DOMAttr", "Wikimedia\\Parsoid\\DOM\\Attr" );
|
|
class_alias( "DOMCharacterData", "Wikimedia\\Parsoid\\DOM\\CharacterData" );
|
|
class_alias( "DOMComment", "Wikimedia\\Parsoid\\DOM\\Comment" );
|
|
class_alias( "DOMDocument", "Wikimedia\\Parsoid\\DOM\\Document" );
|
|
class_alias( "DOMDocumentFragment", "Wikimedia\\Parsoid\\DOM\\DocumentFragment" );
|
|
class_alias( "DOMDocumentType", "Wikimedia\\Parsoid\\DOM\\DocumentType" );
|
|
class_alias( "DOMDOMException", "Wikimedia\\Parsoid\\DOM\\DOMException" );
|
|
class_alias( "DOMDOMParser", "Wikimedia\\Parsoid\\DOM\\DOMParser" );
|
|
class_alias( "DOMElement", "Wikimedia\\Parsoid\\DOM\\Element" );
|
|
class_alias( "DOMNode", "Wikimedia\\Parsoid\\DOM\\Node" );
|
|
class_alias( "DOMNodeList", "Wikimedia\\Parsoid\\DOM\\NodeList" );
|
|
class_alias( "DOMProcessingInstruction", "Wikimedia\\Parsoid\\DOM\\ProcessingInstruction" );
|
|
class_alias( "DOMText", "Wikimedia\\Parsoid\\DOM\\Text" );
|