Patch to avoid stripping images when using LiveJournal importer
|Reported by:||beaulebens||Owned by:||anonymous|
Some users have reported problems with the new LiveJournal importer stripping images out of their posts while importing.
Turns out that this is actually because of the force_balance_tags() function, which was being used to clean up imported content a bit. Removing that function means there is no code-level cleanup during import, so it's up to the user to have good HTML.
Applying this patch removes the function and means that the importer works more reliably with WPMU installations in particular.
I'm commenting it out rather than removing it completely as a reminder to people who might want to un-comment it when they import. Alternatively feel free to delete.