[wp-trac] [WordPress Trac] #11194: Visual Editor Creates Blank (Orphaned) Anchor Tags

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 15 10:36:10 UTC 2009


#11194: Visual Editor Creates Blank (Orphaned) Anchor Tags
-------------------------------------+--------------------------------------
 Reporter:  miqrogroove              |        Owner:  azaozz        
     Type:  defect (bug)             |       Status:  reopened      
 Priority:  normal                   |    Milestone:  Future Release
Component:  TinyMCE                  |      Version:  2.8.4         
 Severity:  normal                   |   Resolution:                
 Keywords:  needs-patch 2nd-opinion  |  
-------------------------------------+--------------------------------------

Comment(by Denis-de-Bernardy):

 I think the keyword in google's FAQ item is this:

 > If your site is perceived to contain hidden text and links that are
 '''deceptive in intent''', your site may be removed from the Google index,
 and will not appear in search results pages.

 I honestly doubt that Google takes empty anchor tags into account. It
 basically treats the anchor's text as a tag. If there no tag, the link
 would presumably be ignored.

 That said, it don't cost much to filter empty tags out on the
 content_save_pre hook using some regex foo. We just need to make sure that
 we're not stripping out stuff that contains a name or ID attribute.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11194#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list