You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems that the security class is renaming the <script type="application/ld+json"> (used for Google markups) to <script type="text/javascript"> creating several issues.
Any idea how I can fix this issue without disabling the class?
Thanks,
The text was updated successfully, but these errors were encountered:
I was able to find that out that $buffer = preg_replace('/<script(?!.*(src\\=))[^>]*>/', '<script type="text/javascript">', $buffer); is the code that is renaming all <script>, but i sill don't know how to keep it, while ignoring the <script type="application/ld+json">
Hi Marco,
Hope you are doing well in this current climate.
Seems that the security class is renaming the
<script type="application/ld+json">
(used for Google markups) to<script type="text/javascript">
creating several issues.Any idea how I can fix this issue without disabling the class?
Thanks,
The text was updated successfully, but these errors were encountered: