Describe the bug
While reviewing PRs and running specs, I see a new warning related with Turbo
To Reproduce
Steps to reproduce the behavior:
- Run
bin/rspec decidim-core/spec/system/messaging/conversations_spec.rb -e "passes HTML validation" > /dev/null
- See warning
Expected behavior
To not see any warning
Stacktrace
2022-11-18 14:09:57 +0100 WARNING: http://1.lvh.me:6520/packs-test/js/7296.js 14:47592 "You are loading Turbo from a \u003Cscript> element inside the \u003Cbody> element. This is probably not what you meant to do!\n\nLoad your application’s JavaScript bundle inside the \u003Chead> element instead. \u003Cscript> elements in \u003Cbody> are evaluated with each page change.\n\nFor more information, see: https://turbo.hotwired.dev/handbook/building#working-with-script-elements\n\n——\nSuppress this warning by adding a "data-turbo-suppress-warning" attribute to: %s\n"
(...)
(Deleted because it was too large, but its the full HTML of the page)
Extra data (please complete the following information):
- Decidim Version: 0.28.0.dev
Describe the bug
While reviewing PRs and running specs, I see a new warning related with Turbo
To Reproduce
Steps to reproduce the behavior:
bin/rspec decidim-core/spec/system/messaging/conversations_spec.rb -e "passes HTML validation" > /dev/nullExpected behavior
To not see any warning
Stacktrace
Extra data (please complete the following information):