Subramanya Sastry has uploaded a new change for review.

Change subject: Fixed wikitext escaping bugs and couple unrelated bugs.
......................................................................

Fixed wikitext escaping bugs and couple unrelated bugs.

* The previous code was aggressive in not-escaping wikitext and missed
  situations where it had to be escaped.  Ex: <h1>=escape=</h1>
  Now, went the other direction and conservatively escaping wikitext
  in more situations than is necessary, but this should at least not
  miss situations where escapes are necessary.
* As a result of conservative escaping, 4 RT tests are now red.
* Fixed bug in tracing output that I introduced in previous commit by
  introducing isHTMLTag function.
* Fixed bug in tsr value for <th> tag.
* Discovered parsing bug for text "!foo".  The "!" is lost -- to be
  fixed in a different commit.

Change-Id: Id1297bf05b778315c0af1239e42506255ed3ff69
---
M js/lib/mediawiki.WikitextSerializer.js
M js/lib/mediawiki.parser.defines.js
M js/lib/pegTokenizer.pegjs.txt
3 files changed, 20 insertions(+), 12 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid 
refs/changes/01/17201/1
--
To view, visit https://gerrit.wikimedia.org/r/17201
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id1297bf05b778315c0af1239e42506255ed3ff69
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

Reply via email to