Le 2007-12-27 à 21:29, Sam Angove a écrit :

It's almost certainly [this][1], in WordPress's MT importer:

        $line = trim($line);

If it's needed at all (for removing trailing newlines?), `rtrim` ought
to do the job without destroying your codeblocks.

[1]: http://trac.wordpress.org/browser/trunk/wp-admin/import/ mt.php#L281


Indeed, I think this should do the trick... although personally I'd remove the line above altogether since removing tailing whitespace may still interfere with Markdown's hard line breaks, if there are any.


Michel Fortin
[EMAIL PROTECTED]
http://michelf.com/


_______________________________________________
Markdown-Discuss mailing list
[email protected]
http://six.pairlist.net/mailman/listinfo/markdown-discuss

Reply via email to