[wp-trac] [WordPress Trac] #16147: MT Importer truncates double vertical spaces, munging paragraphs together

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 24 06:20:05 UTC 2011


#16147: MT Importer truncates double vertical spaces, munging paragraphs together
--------------------------+----------------------------
 Reporter:  novasource    |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  WordPress.org
Component:  Import        |     Version:  3.2.1
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+----------------------------
Changes (by gene1wood):

 * version:   => 3.2.1


Comment:

 I can confirm that this bug is present in Wordpress 3.2.1. I imported a
 Movable Type blog which contained sections like the following in the mt-
 export.txt file :

 {{{
 ...
 -----
 BODY:
 So The Lad sent me another one of my pieces--even from Munich he comes to
 my rescue. Thanks love.

 My biggest fear right now is that I might run into the Sicilian on campus
 somewhere and not have a biting remark ready to hand. If any of you have
 suggestions, I welcome them.

 See, I need to keep the scary rage in place because it helps me get out of
 bed in the morning.
 -----
 ...
 }}}

 The double carriage returns were turned into single carriage returns which
 causes Wordpress to render each of these as sentences with a {{{<br>}}}
 tag at the end instead of paragraphs.

 I fixed this by following the suggestions I found here :
 http://onalark.livejournal.com/192394.html
 The comments in this entry that suggest changing the "CONVERT BREAKS"
 values in the mt-export.txt file are incorrect. This is not needed.

 I'm attaching a patch which fixes this bug and worked for me.

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


More information about the wp-trac mailing list