I would expect to be able to insert javascript code like let foo = 'bar' and not to be forced to insert code with the script node like <script>let foo = 'bar'</script>
https://github.com/plone/plone.app.layout/blob/master/plone/app/layout/analytics/view_head.pt
What I get:
If inserting js code. it's rendered as some text. :-( without any effect.
steps to reproduce
- create backend add-on with cookieplone
- install and start
- if you do not see a classic distribution, add plone.classicui to requirements.txt
- add some js code to control panel / website / js in header
- see js code rendered as text
I would expect to be able to insert javascript code like
let foo = 'bar'and not to be forced to insert code with the script node like<script>let foo = 'bar'</script>https://github.com/plone/plone.app.layout/blob/master/plone/app/layout/analytics/view_head.pt
What I get:
If inserting js code. it's rendered as some text. :-( without any effect.
steps to reproduce