Opened 7 years ago

Closed 7 years ago

#9889 closed Bug (invalid)

some tags are not closed while inline editing like "br" , "img" etc

Reported by: parag patel Owned by:
Priority: Normal Milestone:
Component: UI : Source View Version: 4.0
Keywords: Cc: bhavesh.khatri@…

Description

hi.. all

i am facing a problem when i am posting a form with inline editing .

i found that in inline editing mode <br> tag and also <img> tag are not closed. in inline editing .

it works perfect while i am trying without inline editing.

also i can`t found source button while inline editing .

thanks parag patel

Change History (1)

comment:1 Changed 7 years ago by Jakub Ś

Keywords: inline editing br tag img tag problems removed
Resolution: invalid
Status: newclosed

Source button for inline editing was reported here: #9713.

i found that in inline editing mode <br> tag and also <img> tag are not closed. in inline editing .

  1. Browser development tools show these tags that way. Try the same in iframed editor. Check tag with development tool and with source mode.
  2. In HTML5 character '/' is optional. It can be used with void elements (like br or img) but it has no effect on them.

Here are useful links:
http://dev.w3.org/html5/spec-author-view/syntax.html#syntax-start-tag - Please see point 6
http://www.w3.org/html/wg/drafts/html/master/single-page.html#void-elements
http://stackoverflow.com/questions/3558119/are-self-closing-tags-valid-in-html5 - very good post.

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