fix unquoted urls in template