-
Hi, Is there a way to move this JS-object inline? If I try do do it, it will throw and error. It would be great to get rid of the script tags. Thanks :) |
Beta Was this translation helpful? Give feedback.
Answered by
ekwoka
Apr 17, 2023
Replies: 1 comment 1 reply
-
Yeah, just put it in there. Technically, it doesn't even need to be inside JSON.parse since the JSON is also a valid object literal in javascript. oh right, the Yeah, not much you can do about that. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
FredMar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah, just put it in there. Technically, it doesn't even need to be inside JSON.parse since the JSON is also a valid object literal in javascript.
oh right, the
"
breaks the html attributes.Yeah, not much you can do about that.