Line break characters around <script> and <style> should be ignored #11248
Closed
Description
📝 Provide detailed reproduction steps (if any)
- Set in Source Editing mode in
ckeditor5-html-support/tests/manual/ghs-all-features.html
:
<p>
x
</p>
<script>a</script>
<style>a</style>
<p>
x
</p>
- Retrieve the data back.
✔️ Expected result
Output is the same as the input.
❌ Actual result
Notice the extra paragraph with
and <style>
inside it:
<p>x</p><script>a</script><p> <style>a</style></p><p>x</p>
Activity