Subramanya Sastry has uploaded a new change for review. Change subject: Improved wikitext escaping. ......................................................................
Improved wikitext escaping. * Unconditionally escape text that has a ' ' in sol position. * Use url-tokenizer to detect if text within [ .. ] is a url. * Discard mw:Entity tokens for the purpose of wt-escaping. * Discard sanitizer noEndTag tokens (</br>) for the purpose of wt-escaping. * 3 more parser tests green: 1 wt2wt, 1 html2wt, 1 html2html * This should reduce nowiki tags on several test pages and reduce fails and skips in rt-testing. Change-Id: I23e7d4b18c452b723da57ca7ac114b027ceb173d --- M js/lib/ext.core.LinkHandler.js M js/lib/mediawiki.WikitextSerializer.js 2 files changed, 54 insertions(+), 15 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid refs/changes/94/32594/1 -- To view, visit https://gerrit.wikimedia.org/r/32594 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I23e7d4b18c452b723da57ca7ac114b027ceb173d 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
