My issue with event URLs and build turns out to be related to nunjucks passing a SafeString object, the extra parens don't help, I fixed it by patching the build filter to always call toString