📝 Provide detailed reproduction steps (if any)
- Visit https://ckeditor.com/docs/ckeditor5/latest/features/source-editing/source-editing.html
- Toggle on
Source mode
- Paste in the following HTML:
<p>Cryptids of Cornwall:</p>
<dl>
<dt>Beast of Bodmin</dt>
<dd>A large feline inhabiting Bodmin Moor.</dd>
<dt>Morgawr</dt>
<dd>A sea serpent.</dd>
<dt>Owlman</dt>
<dd>A giant owl-like creature.</dd>
</dl>
(Example taken from https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/dl)
- Toggle off and on
Source mode
✔️ Expected result
What is the expected result of the above steps?
The HTML markup should remain unchanged.
❌ Actual result
What is the actual result of the above steps?
The HTML markup turns into the following:
<p>
Cryptids of Cornwall:
</p>
<dl>
<dt>
<p>
Beast of Bodmin
</p>
</dt>
<dd>
<p>
A large feline inhabiting Bodmin Moor.
</p>
</dd>
<dt>
<p>
Morgawr
</p>
</dt>
<dd>
<p>
A sea serpent.
</p>
</dd>
<dt>
<p>
Owlman
</p>
</dt>
<dd>
<p>
A giant owl-like creature.
</p>
</dd>
</dl>
📃 Other details
- Browser: Firefox 140.9.0esr
- OS: macOS 14.8.5
- CKEditor version: 48.0.0
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
📝 Provide detailed reproduction steps (if any)
Sourcemode(Example taken from https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/dl)
Sourcemode✔️ Expected result
What is the expected result of the above steps?
The HTML markup should remain unchanged.
❌ Actual result
What is the actual result of the above steps?
The HTML markup turns into the following:
📃 Other details
If you'd like to see this fixed sooner, add a 👍 reaction to this post.