• Resolved Air.

    (@air-1)


    Hey.

    Validator returns error

    Bad value for attribute href on element link: Illegal character in query: | is not allowed.

    It is caused by your code for embedding google fonts when there is more then 1 font.

    Solution is simple, just replace pipes | with %7C

    Something like return '//fonts.googleapis.com/css?family=' . str_replace( '|', '%7C', $link );

    With kind regards.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bad character while embedding google fonts.’ is closed to new replies.