HomePhabricator

Don't blow away attributes coming from toDataElement()

Authored by Catrope.

Description

Don't blow away attributes coming from toDataElement()

This fixed a bug where an <h2> element with HTML attributes would be
converted to a 'heading' element with those HTML attributes but without
the 'level' attribute, which indirectly caused an exception somewhere in
ve.ce

Change-Id: I8bf32ff0d8e0f9d016b2abc6cb31824df05bdfc2

Details