Try removing the " marks. There is another thread about a similar issue here:
In short, it seems that since the code is already inside a <script> tag, Hugo outputs it accordingly.
Try removing the " marks. There is another thread about a similar issue here:
In short, it seems that since the code is already inside a <script> tag, Hugo outputs it accordingly.