Spaces in URLs should be avoided. The Google Fonts API example shows the use of "+", not " ":
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Font+Name">

It should be pretty simple to replace all spaces in URLs with +. I'll put a patch together tomorrow if I get a chance.

Below is the output from http://validator.w3.org/ on my site using this module with Google Fonts API:

Bad value http://fonts.googleapis.com/css?family=Averia Libre:700,700&subset=latin for attribute href on element link: Whitespace in query component. Use %20 in place of spaces.
…googleapis.com/css?family=Averia Libre:700,700&subset=latin" media="all" />
Syntax of IRI reference:
Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20.

Comments

sreynen’s picture

Status: Active » Closed (duplicate)
sreynen’s picture

Issue summary: View changes

corrected URLS to URLs