rss-bridge/formats
Jan Tojnar 1af6cbeb1e
[XML formats] Ensure elements are connected to DOM before further manipulation (#2806)
We are setting xmlns attributes at the root element but PHP would
still attach redundant ones to the DOM elements created with `createElementNS`.
That was because PHP reconciles namespace attributes when appending elements to DOM
but since we previously only attached the elements after all children were attached,
the reconciliation algorithm was not able to see the root element’s attributes.

To fix this, let’s attach each element to its parent immediately after it is created.
2022-06-09 18:33:23 +02:00
..
AtomFormat.php [XML formats] Ensure elements are connected to DOM before further manipulation (#2806) 2022-06-09 18:33:23 +02:00
HtmlFormat.php Formats: Remove display & related method (#2776) 2022-06-07 18:05:33 +02:00
JsonFormat.php Formats: Remove display & related method (#2776) 2022-06-07 18:05:33 +02:00
MrssFormat.php [XML formats] Ensure elements are connected to DOM before further manipulation (#2806) 2022-06-09 18:33:23 +02:00
PlaintextFormat.php Formats: Remove display & related method (#2776) 2022-06-07 18:05:33 +02:00