Skip to content
Snippets Groups Projects
Commit 1701f9fb authored by Jeff Sturek's avatar Jeff Sturek
Browse files

Correctly escape double quotes

parent 427a9ede
No related branches found
No related tags found
1 merge request!7Implement 5.0 Templates
......@@ -59,7 +59,7 @@ before do
end
def append_script_tag(src)
@inline_body_script_content << "<script type=\"text/javascript\" src="#{src}"></script>\n"
@inline_body_script_content << "<script type=\"text/javascript\" src=\"#{src}\"></script>\n"
end
def append_script_declaration(content)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment