View Selection Source serializes the DOM; it is not required to show a precise substring of the original source.
The DOM contains a '&' character, and the correct way to serialize that inside an href attribute is to convert it to "&". It would be wasteful and difficult to "remember" that the original HTML was invalid and emit invalid HTML during serialization.
View Selection Source serializes the DOM; it is not required to show a precise substring of the original source.
The DOM contains a '&' character, and the correct way to serialize that inside an href attribute is to convert it to "&". It would be wasteful and difficult to "remember" that the original HTML was invalid and emit invalid HTML during serialization.