#2253: Empty anchor tags being removed.
----------------------+-----------------------------------------------------
  Reporter:  j3gum    |       Owner:                    
      Type:  Bug      |      Status:  closed            
  Priority:  Normal   |   Milestone:                    
 Component:  General  |     Version:  FCKeditor 2.3.2   
Resolution:  wontfix  |    Keywords:  Confirmed HasPatch
----------------------+-----------------------------------------------------
Comment (by fredck):

 Valid code (the code that passes W3C validation), in any way means good
 code. It is a step to it, but the validator is not able to understand how
 meaningful that code is. The HTML 5 standards are being an evolution in
 this sense, where strict rules are mixed with good practice
 recommendations.

 In the case of <a>, the HTML 5 specifies that its contents must be
 "[http://www.w3.org/html/wg/html5/#phrasing0 Phrasing content]". Let me
 that the specific text about it:

  "As a general rule, elements whose content model allows any phrasing
 content should have either at least one descendant text node that is not
 inter-element whitespace, or at least one descendant element node that is
 embedded content."

 Leaving it configurable would be an "anti-feature". It would bring some
 known bugs back, and you would end up with undesired <a> elements, other
 than those that you really want to have.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2253#comment:6>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to