Subramanya Sastry has uploaded a new change for review. Change subject: Fixed bug in template encapsulation code. ......................................................................
Fixed bug in template encapsulation code. * Template info should not be added to the first token of a chunk since the info can get lost during later passes (ex: li tokens). With this fix, a meta-tag is always added when a non-string token is encountered as the first tag. * This bug was exposed when I messed with the peg tokenizer to return bigger token chunks whenever possible. * No changes in parser tests coverage. Unrelated changes: * JSHint fixes in TemplateHandler. * comment fixes in wikitext serializer Change-Id: Id08e93486aba6a4d7b6daece44b9ec03b40b738f --- M js/lib/ext.core.TemplateHandler.js M js/lib/mediawiki.WikitextSerializer.js 2 files changed, 46 insertions(+), 54 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid refs/changes/27/25027/1 -- To view, visit https://gerrit.wikimedia.org/r/25027 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id08e93486aba6a4d7b6daece44b9ec03b40b738f 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
