Make WordPress Core

Opened 16 years ago

Closed 15 years ago

#8983 closed feature request (invalid)

Import .. strip HTML

Reported by: oregondean's profile 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)

#1 @oregondean
16 years ago

  • Component changed from General to Import
  • Owner anonymous deleted

#2 @DD32
16 years ago

  • Keywords reporter-feedback added; import html strip tags removed

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

#3 @FFEMTcJ
16 years ago

  • Milestone changed from 2.8 to Future Release

#4 @Denis-de-Bernardy
15 years ago

  • 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.