[wp-trac] Re: [WordPress Trac] #5678: Respectfully strip newlines
in some importers
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 17 02:59:50 GMT 2008
#5678: Respectfully strip newlines in some importers
------------------------------+---------------------------------------------
Reporter: jdub | Owner: hansengel
Type: enhancement | Status: assigned
Priority: normal | Milestone: 2.5
Component: General | Version: 2.5
Severity: normal | Resolution:
Keywords: has-patch tested |
------------------------------+---------------------------------------------
Comment (by jdub):
Oh, I didn't think this would go from proposal to trunk-ready quite so
quickly -- thanks.
LiveJournal is another importer for which this will be useful.
mdawaffe is absolutely right that the function should only be used for
fully marked up HTML, and needs to include a comment to that effect.
Perhaps it should be renamed to 'strip_html_newlines' or something?
Luckily, for the proposed use case, that covers a large proportion of
import formats. :-)
--
Ticket URL: <http://trac.wordpress.org/ticket/5678#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list