Subramanya Sastry has submitted this change and it was merged.

Change subject: Bug 43104: Don't eat exclamation marks in table heading 
attribute names
......................................................................


Bug 43104: Don't eat exclamation marks in table heading attribute names

Fixes bug 43104 (about https://en.wikipedia.org/wiki/Buri_Ram_Airport) by
making attribute name productions slightly less greedy.

Minimal test case:

echo -e '{|\n! Foo !! style="color: red" | Bar\n|}' | nodejs parse

No changes in parser tests, TODO: add test case above as test.

Change-Id: I0306390e037dc0b8b913bd61c7887a3c3a5034dd
---
M js/lib/pegTokenizer.pegjs.txt
1 file changed, 5 insertions(+), 5 deletions(-)

Approvals:
  Subramanya Sastry: Verified; Looks good to me, approved
  jenkins-bot: Checked


--
To view, visit https://gerrit.wikimedia.org/r/46465
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0306390e037dc0b8b913bd61c7887a3c3a5034dd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: GWicke <[email protected]>
Gerrit-Reviewer: Subramanya Sastry <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to