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

Error in javascript tracker loading: bad sanitization` #381

Open
mbolis opened this Issue Dec 28, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@mbolis
Copy link

mbolis commented Dec 28, 2018

Javascript code in the page is failing to load, giving me this error in the console (Firefox):

SyntaxError: expected expression, got '&'

The problem is the $cmds entries get output with $sanitize = true in modules/base/templates/js_log_tag.tpl, so the output is:

owa_cmds.push(['trackPageView']);
owa_cmds.push(['trackClicks']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment