RESOLVED CONFIGURATION CHANGED207976
XMLSerializer should convert HTML entities to the correct code point
https://bugs.webkit.org/show_bug.cgi?id=207976
Summary XMLSerializer should convert HTML entities to the correct code point
Marcos Caceres
Reported 2020-02-19 17:10:30 PST
Steps to reproduce: Open https://codepen.io/SaschaNaz/pen/zYGKvOQ Expected: Serializing &nbsp; should result in the equivalent of nbsp code point in the output. See Chrome and Firefox, which replace the &nbsp; for the correct code point (otherwise, exported XML becomes invalid). Actual: The serializer spits out from Safari: <p xmlns="http://www.w3.org/1999/xhtml" id="nbsp">&nbsp;</p>
Attachments
Radar WebKit Bug Importer
Comment 1 2020-02-19 22:25:21 PST
Ahmad Saleem
Comment 2 2022-08-11 14:36:21 PDT
Lates results from all browsers: *** Safari 15.6 on macOS 12.5 *** <p xmlns="http://www.w3.org/1999/xhtml" id="nbsp"> </p> *** Firefox Nightly 150 *** <p xmlns="http://www.w3.org/1999/xhtml" id="nbsp"> </p> *** Chrome Canary 106 *** <p xmlns="http://www.w3.org/1999/xhtml" id="nbsp"> </p> _______ All browsers are rendering same so it is something fixed along the way, I am going to mark this as "RESOLVED CONFIGURATION CHANGED". Thanks! Please reopen, if it is not believed to be fixed. Thanks!
Note You need to log in before you can comment on or make changes to this bug.