-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generating a script tag containing JavaScript code #18
Comments
The first (string) argument is interpreted as a class name; you should be able to replace that with an empty string and put the contents after the dict to get the intended behaviour. I'll be the first to say that this behaviour is pretty confusing – so we're looking to overhaul the api in future. |
Thank you. I'll use raw HTML strings for a while. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to generate a script tag that contains a JavaScript code like this:
However, I couldn't find a way because
script
doesn't work as I expected when it takes aDict
argument:Is this an intended behavior or a bug?
The text was updated successfully, but these errors were encountered: