wiki.techinc.nl/tests/phpunit/data
Roan Kattouw 8c6c1c9adc VueComponentParser: Use RemexHtml instead of PHP's HTML parser
This fixes an issue with HTML tags inside the <script> tag.
Remex also doesn't throw errors on attributes like @click, although it
does mangle them when producing DOM. To work around this, don't use DOM
serialization for the template HTML, but parse everything again using a
Remex parse+serialize pipeline that extracts the template and
(optionally) removes comments and strips whitespace.

One important effect of this change is that we'll have to forbid
self-closing tags in Vue templates, because Remex doesn't handle those
correctly (or rather, handles them *too* correctly). But on the up side,
we can now allow shorthands for v-bind/v-on/v-slot again.

Bug: T253334
Bug: T255587
Depends-On: I2253a2317187fe0d781ba5bfefab95e0f97d0a80
Change-Id: Id9a9728b7163601cc60bc587be07b70977d41970
2020-06-22 19:54:15 +00:00
..
autoloader
categoriesrdf Fix categories detele SPARQL clause 2019-08-27 16:19:31 -07:00
composer ComposerInstalledTest: remove mentions of phpunit-mock-objects 2019-11-21 12:59:45 -08:00
css
cssmin
db Remove DatabaseIntegrationTest::testStoredFunctions() 2020-06-02 10:47:29 +10:00
dumps Make dump tests based on fixture files. 2020-04-06 15:21:00 -07:00
filecontentshasher
filerepo
gitinfo
import Remove traling double newlines from text files 2019-10-23 21:17:43 +02:00
less
localisationcache
media Fix XMP parser errors due to trailing nullchar 2019-09-11 22:34:33 +00:00
messages languages: Move default $wgNamespaceAliases to MessagesEn.php 2020-03-14 19:27:40 +00:00
MSCompoundFileReader
parser
registration tests: Add test file to test SPDX license expressions 2020-05-02 12:47:31 +01:00
resourceloader VueComponentParser: Use RemexHtml instead of PHP's HTML parser 2020-06-22 19:54:15 +00:00
rlfilepath
templates TemplateParserTest: Add test case with syntax error 2020-01-29 23:15:53 +00:00
upload
zip