Subramanya Sastry has uploaded a new change for review.
Change subject: Fixed bug in P-wrapper with lost newlines in some scenarios.
......................................................................
Fixed bug in P-wrapper with lost newlines in some scenarios.
* When p-content was preceded by 3 newlines and non-p-content
one of the 3 newlines was getting lost in RT-ing. Fixed this
by inserting a newline token into the stream when p-br-p
content was not preceded by p-content.
Line 1: <!-- foo --> OR [[Category:Foo]]
Line 2:
Line 3:
Line 4: boo OR {{echo|boo}}
* No change in parser tests (need more tests)
* Fixes RTing of several pages with single syntactic/semantic error.
Ex: en:Adriatic Bridge, en:Augea, en:Takats
Change-Id: I51b913c6af1f012ddcdb23ae79965e528944587d
---
M js/lib/ext.core.ParagraphWrapper.js
1 file changed, 10 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid
refs/changes/38/32338/1
--
To view, visit https://gerrit.wikimedia.org/r/32338
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I51b913c6af1f012ddcdb23ae79965e528944587d
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