Drop a trailing space that breaks templated URLs