#3730: Indent and BR selections ----------------------+----------------------------------------------------- Reporter: damo | Owner: Type: Bug | Status: closed Priority: Normal | Milestone: CKEditor 3.0 Component: General | Version: Resolution: invalid | Keywords: IBM Discussion ----------------------+----------------------------------------------------- Changes (by martinkou):
* status: new => closed * resolution: => invalid Comment: This actually does not make sense when we look at the HTML specification - paragraphs are not supposed to contain other paragraphs. Let's say we feed this XHTML code to [http://validator.w3.org/#validate_by_input W3C's XHTML validator]. {{{ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-type" content="text/html;charset=UTF-8" /> <title>Test XHTML validity</title> </head> <body> <p> test 1<br /> test 2<br /> <p style="margin-left: 40px;"> test 3<br /> test 4<br /> </p> test 5<br /> </p> </body> </html> }}} W3C will tell you that this isn't valid XHTML. And in fact, even if you force that HTML into the browser via Firebug or a raw HTML file on your local harddisk - the paragraph will look wrong. Changing the inner block to a <div> would make it look "right" but it's still invalid XHTML. -- Ticket URL: <http://dev.fckeditor.net/ticket/3730#comment:2> FCKeditor <http://www.fckeditor.net/> The text editor for Internet ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ FCKeditor-Trac mailing list FCKeditor-Trac@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fckeditor-trac