Open fabienheureux opened 2 years ago
Something odd I noticed is the fact that <p> <br />
is the "parent" whereas these tags are not even in the original xml :thinking:
Thanks for the report.
I tried importing your XML snippet and it works OK, without console errors or warnings. I get a single imported page as expected with 2 'raw_html` blocks, each containing the iframe.
Something odd I noticed is the fact that
<p> <br />
is the "parent" whereas these tags are not even in the original xml 🤔
The <p> <br />
tags are added in the bleach process.
Sorry about the title, I am not sure how to name this issue as it is very specific and related to a specific post. I am still investigating where it comes from but thought I could post it as some of you might have a better idea of the source of the issue.
The importer fails on this specific item
```xmlHere is the traceback
```python Traceback (most recent call last): File "manage.py", line 10, inAnd here are some logs I added in the promote_child_tags method
```python Promotee ParentDetails
Wagtail v2.15.2 I installed
wagtail-wordpress-import
from the main branch yesterday, so I am using the latest version of this codebase.