Opened 3 years ago

Last modified 2 years ago

#1231 new defect

LiveJournal Importer mishandles some <lj-cut> and <lj user=""> expressions

Reported by: sfllaw Owned by: a-bishop
Priority: normal Component: livejournal-comments
Severity: normal Keywords: livejournal-importer, import, livejournal, regexp
Cc: sfllaw@…, peter.westwood@…, designsimply

Description

Reproduction steps:

  1. Create a LiveJournal? entry that has <lj user="foo" /> in it. Note that this is XML-ish
  2. Try to use the livejournal-importer on this post.

Bug
The <lj user="foo" /> gets ignored because the regular expression is too strict.

I've attached a patch that makes LiveJournal? Importer recognize the XML-ish version.

Attachments (1)

livejournal-importer.patch (1.5 KB) - added by sfllaw 3 years ago.
Patch to fix some regular expressions in livejournal-importer

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by sfllaw

Patch to fix some regular expressions in livejournal-importer

comment:1 Changed 3 years ago by westi

  • Cc peter.westwood@… added

This ticket and patch should really be in the http://core.trac.wordpress.org as the Importers are handled there.

comment:2 Changed 2 years ago by designsimply

  • Cc designsimply added
Note: See TracTickets for help on using tickets.