Opened 16 years ago
Closed 15 years ago
#8983 closed feature request (invalid)
Import .. strip HTML
Reported by: | oregondean | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.7 |
Component: | Import | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
Suggestion ... Import.php be modified to add an option to strip HTML from imported posts. Further, I would add options to retain <br>,<p>,<strong>,<em>, and <hr> tags.
The strip_tags command allows this ... strip_tags($post_content,'<br><hr><strong><em><p>');
Change History (4)
Note: See
TracTickets for help on using
tickets.
What would be a use-case for this? And Import from where exactly, or any of the importers?
If a importer is passing the post back with markup applied, It'd probably be expected that posts include that markup..
If an importer works badly with certain setups and includes extra HTML, that'd probably be better fixed in that importer.. so knowing which is having a problem, and an example export which will create the problem could be of help