Make WordPress Core

Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#23 closed defect (bug) (fixed)

import-mt sees multiple dashes "-" in a post or comment as break

Reported by: jenn99's profile Jenn99 Owned by: jasonv's profile JasonV
Milestone: Priority: normal
Severity: trivial Version:
Component: General Keywords:
Focuses: Cc:

Description

I originally posted this bug here: http://wordpress.org/support/index.php?action=vthread&forum=3&topic=7242&page=0
(didn't know if I should also repost here - if not feel free to delete - 2fargon seems to be on the case..) here's the original problem I reported:
I had many posts which had dashes to seperate content like this:


This caused many of the posts to lose half their content - or have some posts lose the correct author of the post... basically things got messed up.

I'm guessing the script just looks for a series of dashes and assumes the next line is the start of a new post if it's over a certain number...

Ideally - it would be good to have it be "smart enough" to check the next line before assuming that... Probably easier said than done.

If this was posted on here already - I apologize. Finding things on this forum is quite difficult... :(

Change History (4)

#2 @JasonV
20 years ago

  • Owner changed from anonymous to JasonV
  • Status changed from new to assigned

#3 @JasonV
20 years ago

  • Resolution changed from 10 to 20
  • Status changed from assigned to closed

Ok, my fix looks for dashes followed by a new line and "AUTHOR" when determining breaks between entries.

Note: See TracTickets for help on using tickets.