Import via RSS strips style and class tags
-
I’m trying to import some static pages into WP (2.0.3) via the Import RSS function. I created my RSS file via the feed from my own site and then stripped it down so that I had the essential elements.
I have a test post that I want to import that has both CLASS and in-line STYLE elements in the tags of the content. These are are being stripped out by the import process (with obviously some disagreable results!)
Examples:
<P class=SectionHeader>
becomes
<P>
AND
<IMG style="PADDING-LEFT: 10px; FLOAT: right; PADDING-BOTTOM: 10px"
becomes
<IMG
I’ve looked in wp-admin/import/rss.php and can’t find anywhere (obvious) where it’s doing this, nor in wp-admin/admin-functions.php. So, I’m at a loss as to:
1. Why (what is the intented purpose) it’s doing this
2. Where it’s doing this (so I can change it)Thanks for any insight/ideas/advice anyone can give! ;c)
- The topic ‘Import via RSS strips style and class tags’ is closed to new replies.