Opened 4 years ago
Closed 4 years ago
#8983 closed feature request (invalid)
Import .. strip HTML
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Import | Version: | 2.7 |
| Severity: | normal | Keywords: | reporter-feedback |
| 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)
comment:1
oregondean — 4 years ago
- Component changed from General to Import
- Owner anonymous deleted
- Milestone Future Release deleted
- Resolution set to invalid
- Status changed from new to closed
seeing no use for this either, and it could be done with a plugin
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