Ignore spaces in base64 data URLs. Fix #1268.

r? @jdm