We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Affected versions: 1.x & 2.x
ApiDocBundle (2.13.2) embeds full jQuery lib as js payload directly into the <head> section. This JS code contains following:
js
<head>
... (f.support.boxModel?"<!doctype html>":"")+"<html><body>"),cl.close() ...
So GoogleTagManagerListener class (1.0.5 / 2.1.0) do not respect that and inject GTM into JS code, which is not real <body>.
<body>
Solution is to update regex from '/<body\b[^>]*>/' to '/<\/head>\s*<body\b[^>]*>/'.
'/<body\b[^>]*>/'
'/<\/head>\s*<body\b[^>]*>/'
Unfortunately could not provide PR right now, maybe later this week, if it won't be fixed earlier.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Affected versions: 1.x & 2.x
ApiDocBundle (2.13.2) embeds full jQuery lib as
js
payload directly into the<head>
section.This JS code contains following:
So GoogleTagManagerListener class (1.0.5 / 2.1.0) do not respect that and inject GTM into JS code, which is not real
<body>
.Solution is to update regex from
'/<body\b[^>]*>/'
to'/<\/head>\s*<body\b[^>]*>/'
.Unfortunately could not provide PR right now, maybe later this week, if it won't be fixed earlier.
The text was updated successfully, but these errors were encountered: