Subramanya Sastry has uploaded a new change for review.
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid
refs/changes/24/24824/1
--
To view, visit https://gerrit.wikimedia.org/r/24824
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic4c327fd130614b98a268d82d081f73801ca4d2d
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