This gives me the output:
{{test}}
So this does not work at all.
On Monday, September 9, 2019 at 4:20:06 PM UTC+2, Kurtis Rader wrote:
>
> You have
>
> href="{{safeurl .href}}",
>
> Shouldn't that be "safejs"? Using "safehref" is causing the string to be
> hex encoded as a URL. Which mean
You have
href="{{safeurl .href}}",
Shouldn't that be "safejs"? Using "safehref" is causing the string to be
hex encoded as a URL. Which means most special chars will be converted to
hex representation.
On Mon, Sep 9, 2019 at 4:53 AM Jens-Uwe Mager wrote:
> I am having a problem to properly
I am having a problem to properly escape javascript urls in my templates. I
do have the situation where I build a template that is having javascript
urls that are from variables in the go program (read from yaml files). The
go program generates static html, but the html is supposed to use
moust