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.
Upstream won't fix it:
------- Comment #1 From Jesse Ruderman 2008-09-10 15:24:55 PDT (-) [reply] -------
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.