amp-toolbox-php
amp-toolbox-php copied to clipboard
Pipes in href attributes are encoded by DOMDocument
When pipes are being used in href attributes, like it is the case for Google Fonts links, then the DOMDocument seems to encode these pipes, making them ugly to read.
Just a cosmetic issue though, right? Functionally equivalent.
Yes, purely cosmetic. Again something that makes testing more difficult across platforms, though. The above is the output from a PHPUnit test failing against the NodeJS spec test suite.