HomePhabricator

Clone attributes before expanding to DOM for data-mw

Description

Clone attributes before expanding to DOM for data-mw

Otherwise, this affects the data attributes on the original tokens,
which may still be used by further handlers.

The isolated test case here is,
echo "[http://test.com{{1x| }} 123]" | php bin/parse.php

Bug: T233459
Change-Id: I6aacb00f446a5fff6e897f53be187ab291496aa1

Details

Provenance
ArlolraAuthored on Sep 24 2019, 7:43 PM
jenkins-botCommitted on Sep 25 2019, 12:37 AM
Parents
rGPARd3ef20941766: Refactor solTransparentWikitext{,NoWs}Regexp() into base class
Branches
Unknown
Tags
Unknown
ChangeId
I6aacb00f446a5fff6e897f53be187ab291496aa1