Hi,
I’m referring to {{ .Site.BaseURL }} in a JSON object in a <script> tag,
but it’s parsing // to \/\/.
Is there any way to prevent this?
Thanks in advance!
Andy
Hi,
I’m referring to {{ .Site.BaseURL }} in a JSON object in a <script> tag,
but it’s parsing // to \/\/.
Is there any way to prevent this?
Thanks in advance!
Andy
This is “normal” in JSON, see https://tools.ietf.org/html/rfc4627
I can not test it, try to use %x2F for “/”