Fix to work with changes to htmlAttribs

htmlAttribs was escaping URLs. This isn't needed, so I made a workaround.