mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-03 02:16:51 +00:00
ae0b5f9af4
html markup handling. * Remove global 'use strict' declarations from html5 parser. * Add trailing whitespace handling in dt Overall, 55 parser tests are now passing. |
||
---|---|---|
.. | ||
dumpReader.js | ||
expansionTest.js | ||
parserTests.js | ||
parserTests.pegjs | ||
README | ||
roundtrip-test.js | ||
roundtrip.js | ||
tests.html | ||
wikia-rte-roundtrip-tests.xml | ||
worker.js |
Work in progress. :) Batch-testing tools loading the parsing code into node.js, and going through a MediaWiki XML export dump to run round-trip tests over it. Currently not much will succeed as there's bad handling of newlines. ;) Need npm modules: * html5 * jquery * jsdom * diff * libxmljs (requires native compilation) * webworker