Subramanya Sastry has uploaded a new change for review.
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid
refs/changes/99/42799/1
--
To view, visit https://gerrit.wikimedia.org/r/42799
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I56645bd1a3ec1bb6af51d30524c9482ed1bc8a9b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: Subramanya Sastry <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits