Opened 9 years ago
Closed 8 years ago
#14240 closed Bug (expired)
Track not respecting void element flag.
Reported by: | sylus | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.5.4 |
Keywords: | Cc: |
Description
Steps to reproduce
- In CKEditor paste:
<track label="English subtitles" kind="subtitles" srclang="en" src="video-subtitles-en.vtt" default>
- Toggle the source button on / off
- The rendered result is:
<track default="" kind="subtitles" label="English subtitles" src="video-subtitles-en.vtt" srclang="en"></track>
note: ACF should be disabled this is likely why the whole Track tag is stripped in nightly demo as tried to reproduce there.
Expected result
The expected result is that track should respect the fact it is a void element.
Running 'CKEDITOR.dtd.$empty' in the console does show Track is flagged as 1.
Actual result
An extra closing track tag is added.
Other details (browser, OS, CKEditor version, installed plugins)
All CKEditor versions 4.3.5+, MacOSX, Chrome 47, and no plugins
As an aside thank you for all the amazing work done in CKEditor it works superbly otherwise
Change History (2)
comment:1 Changed 9 years ago by
Status: | new → pending |
---|
comment:2 Changed 8 years ago by
Resolution: | → expired |
---|---|
Status: | pending → closed |
Could you provide your build-config.js file? I have treid reproducingthis issue in full package and it has worked as expected. Pasting
resulted in
in CKEditor 4.5.6
NOTE: Instead of disabling ACF, you can configure it: