Double Double Quotes

In a Go html template a row looks like this:

<li id="{{.menu_id}}" onclick={{.menu_id}}>

No matter if I add or omit double quotes.

On the browser inspector it looks like this:


It should look like this;


OR in in source

<li id="home" onclick=&#34;home&#34;>

How do I get rid of the extra double quotes?

I found the “solution” - sorry


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.