Opened 2 years ago
Last modified 2 years ago
#15760 assigned defect (bug)
LiveJournal Importer mishandles some <lj-cut> and <lj user=""> expressions
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | WordPress.org |
| Component: | Import | Version: | |
| Severity: | normal | Keywords: | livejournal importer |
| Cc: | sfllaw |
Description
There is a note on plugins.trac ticket 1231 that says this should be handled in core.trac instead, so I'm cross-posting it here. The patch and ticket were originally added by a-bishop:
http://plugins.trac.wordpress.org/ticket/1231
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.
Patch:
http://plugins.trac.wordpress.org/attachment/ticket/1231/livejournal-importer.patch
