Bug #73629
closedJavaScript-Objects stripped in HTML-element
0%
Description
My clients used the HTML-element to post the scripts for including external forms. In the rendered frontend the JavaScript-objects in those scripts are stripped and missing. We first noticed the problem in 7.6.3. It also exists in 7.6.4..
Example:
<script> xxx.forms.create({ css: '', portalId: '474117', formId: 'XXX-XXX-XXX' }); </script>
becomes
<script> hbspt.forms.create(); </script>
Updated by Wouter Wolters over 8 years ago
- Status changed from New to Needs Feedback
I can't reproduce this. Can you tell us a bit more about your setup?
Do you use css_styled_content or fluid_styled_content?
Does normal HTML work, no javascript?
Updated by Jeff C over 8 years ago
We use css_styled_content. Normal HTML does work, normal JavaScript too. Only JavaScript-Objects are for some reason removed... I can't tell more at the moment as I'm not at work right now but I will have a second look tomorrow. Maybe it's not a core-bug after all. Anyways, it used to work.
Updated by Jeff C over 8 years ago
You can close this!
It was a faulty typoscript-configuration. My bad.
Updated by Riccardo De Contardi over 8 years ago
- Status changed from Needs Feedback to Closed
closed as requested by the author; thank you for your feedback!