Archived topic
Google fonts URL break HTML5 Validation on w3.org
1 reply · Started by Rafal on April 17, 2018
Hi,
Would be possible to fix a problem with w3c validation, please?
It is in a file inc/typhography.php line 90. a '|' separator is a problem
I found two ways of fixing it :
- replace | with %7C
- escape string as html ( esc_url/html )
Thanks,
R
Hi there,
We follow what Google suggests for the request. I've considered changing it, but I'm worried it might mess with their API.
You can find a solution here: https://generatepress.com/forums/topic/google-fonts-and-w3c-validator-error/#post-213879
Let me know if you need more info :)