GWicke has submitted this change and it was merged. Change subject: Mark auto-inserted td-tags in the tokenizer so they are not RT-ed. ......................................................................
Mark auto-inserted td-tags in the tokenizer so they are not RT-ed. The tr- production inserts an implicit td-tag when content follows the tr-tag on the next line. This introduces rt-errors. By marking the td-tag with a 'autoInsertedStart' and 'autoInsertedEnd' flags, the serializer will ignore this. Fixes RTing of wikitext: {| |- foo |} which in turn eliminates the zillion semantic errors on: en:List of United States micropolitan statistical areas by population Change-Id: I56645bd1a3ec1bb6af51d30524c9482ed1bc8a9b --- M js/lib/pegTokenizer.pegjs.txt 1 file changed, 5 insertions(+), 3 deletions(-) Approvals: GWicke: Verified; Looks good to me, approved jenkins-bot: Checked -- To view, visit https://gerrit.wikimedia.org/r/42799 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I56645bd1a3ec1bb6af51d30524c9482ed1bc8a9b Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Parsoid Gerrit-Branch: master Gerrit-Owner: Subramanya Sastry <ssas...@wikimedia.org> Gerrit-Reviewer: GWicke <gwi...@wikimedia.org> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits