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:
- Create a LiveJournal? entry that has <lj user="foo" /> in it. Note that this is XML-ish
- 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)
Change History (3)
Changed 3 years ago by sfllaw
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
Cross-posted to core.trac: http://core.trac.wordpress.org/ticket/15760
Note: See
TracTickets for help on using
tickets.

Patch to fix some regular expressions in livejournal-importer