Fix a bug involving %20 in img URLs