GWicke has submitted this change and it was merged.

Change subject: Fix regression introduced in 992a87 handling template-affected 
attrs.
......................................................................


Fix regression introduced in 992a87 handling template-affected attrs.

For this example below:

<div {{echo|style}}={{echo|'color:red;'}}>a</div>

the regressed code was not marking the value as being template-affected
whereas it actually is.  The regression was caused by an incorrect check
that detected if the key was a html-attribute (mw:content is not a
html attribute, for ex.  It is a parsoid-internal token attribute).

Change-Id: Ic4c327fd130614b98a268d82d081f73801ca4d2d
---
M js/lib/ext.core.AttributeExpander.js
1 file changed, 5 insertions(+), 1 deletion(-)

Approvals:
  GWicke: Verified; Looks good to me, approved


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

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

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

Reply via email to