I am using Enfold theme and the Code Block element in the Avia Layout Builder to add inline CSS (especially page-specific CSS used only once). However, since WPML 3.6.x the Code Block has been breaking the CSS from working, as it adds extraneous <br /> elements to the content (which are naturally not allowed in CSS and break browser from interpreting it).
In addition, if I use for instance <p> tag in the Code Block, WPML removes them completely, which is unexpected as well, as the Code Block should be left as is in all cases tag-wise. Somehow WPML is making its own round of stripping tags, while, I believe, it should instead leave all Enfold layout code untouched.
Steps to duplicate the issue:
1. Use Enfold theme
2. Create a blank page
3. Add Code Block
4. Add content to the Code Block that has a <style> tag and at least one line break