Opened 10 years ago

Closed 10 years ago

#3241 closed Bug (wontfix)

Htmlwriter self-closing tag problem

Reported by: Garry Yao Owned by:
Priority: Normal Milestone: CKEditor 3.0
Component: General Version:
Keywords: Cc:

Description

Writer should be able to represent block-level self-closing element as they are.

Reproducing Procedures

  1. Open the replace by class example page;
  2. Switch to 'source' mode and make the following input:
    <p />
    
  3. Switch to 'wysiwyg' mode and switch back.
    • Actual Result:
      <p>
      </p>
      
    • Expected Result :
      <p />
      

Change History (2)

comment:1 Changed 10 years ago by Alfonso Martínez de Lizarrondo

I think that that kind of usage is very uncommon, so I wouldn't worry too much about it.

comment:2 Changed 10 years ago by Frederico Caldeira Knabben

Resolution: wontfix
Status: newclosed

We don't have interest on supporting this. Even though, it's probably enough to change the CKEDITOR.dtd properties to achieve this.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy