[wp-trac] [WordPress Trac] #8983: Import .. strip HTML

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 28 23:38:01 GMT 2009


#8983: Import .. strip HTML
-----------------------------+----------------------------------------------
 Reporter:  oregondean       |       Owner:  anonymous                
     Type:  feature request  |      Status:  new                      
 Priority:  normal           |   Milestone:  2.8                      
Component:  General          |     Version:  2.7                      
 Severity:  normal           |    Keywords:  import, html, strip, tags
-----------------------------+----------------------------------------------
 Suggestion ... Import.php be modified to add an option to strip HTML from
 imported posts. Further, I would add options to retain
 <br>,<p>,<strong>,<em>, and <hr> tags.

 The strip_tags command allows this ...
 strip_tags($post_content,'<br><hr><strong><em><p>');

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8983>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list