#23 closed defect (bug) (fixed)
import-mt sees multiple dashes "-" in a post or comment as break
Reported by: | Jenn99 | Owned by: | 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... :(
Ok, my fix looks for dashes followed by a new line and "AUTHOR" when determining breaks between entries.