Subramanya Sastry has uploaded a new change for review.

Change subject: Accept "||" as valid text in th cells.
......................................................................

Accept "||" as valid text in th cells.

* Fixes parsing and RTing of text like:

  :{|
  ! a || b
  |}

  The content was parsing without the leading ":"
  which highlights a different problem in the tokenizer
  hacky_dl_uses is stricter in the kind of table
  content it accepts when compared to regular tables.
  This issue is not addressed in this patch.

* No change in parser tests (TODO: add parser tests)

* Reduces semantic errors in en:Civil Action 05-cv-2385

Change-Id: I8719cbeaebb9f8bdf493a970d2e7f2a5dd25c698
---
M js/lib/mediawiki.tokenizer.peg.js
M js/lib/pegTokenizer.pegjs.txt
2 files changed, 17 insertions(+), 9 deletions(-)


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

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