How to get Go to prevent escaping URL in an html template?

Written by
Link to Post

https://www.reddit.com/r/golang/comments/afapjo/how_to_get_go_to_prevent_escaping_url_in_an_html/

I’ve tried to render a url as string, URL, JS and HTML. In all the cases it was rendered like this:

 https://domain.com/path1/path2/path3 

What actually works?

submitted by /u/kazzaru
[link] [comments]

Article Tags:
· ·
Article Categories:
reddit

Leave a Reply