I’ve just updated Hugo version from v0.70.0 to v.0.74.3, and I now get the following error message on build:
(replaceRE "[^a-zA-Z0-9]+" "-" (lower .Params.publisher)) .Params.publisher | _html_template_urlnormalizer | _html_template_attrescaper>: can't give argument to non-function replaceRE "[^a-zA-Z0-9]+" "-" (lower .Params.publisher)
This is the code it’s complaining about:
<img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="/img/books/{{(replaceRE "[^a-zA-Z0-9]+" "-" (lower .Params.publisher)) .Params.publisher}} alt="{{.Params.publisher}}" />
What does this mean?