Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#2470 closed defect (bug) (wontfix)

<strike> sucks, <del> does not

Reported by: Viper007Bond Owned by: markjaquith
Priority: low Milestone:
Component: Administration Version: 2.0.1
Severity: minor Keywords: has-patch
Cc:

Description

<strike> was deprecated in HTML 4.01 and is not supported XHTML 1.0 Strict DTD or XHTML 1.1, so it shouldn't be allowed in comments, at least by default.

Attachments (1)

no_more_strike.diff (390 bytes) - added by Viper007Bond 7 years ago.
Replacement of strike with del in allowed comment tags

Download all attachments as: .zip

Change History (9)

Replacement of strike with del in allowed comment tags

  • Keywords bg|2nd-opinion added

+1, but I'm marking with 2nd-opinion.

  • Keywords bg|commit added; bg|2nd-opinion removed
  • Milestone set to 2.1
  • Owner changed from anonymous to markjaquith
  • Priority changed from normal to low
  • Severity changed from normal to minor
  • Status changed from new to assigned

If it breaks XHTML 1.0 strict validation, we should axe it.

+1

comment:3   matt7 years ago

The problem is del is both an inline and block level tag, and can seriously mess up page layouts if allowed.

Same problem with &lt;ins&gt; ... currently, you can't use &lt;ins&gt; as block level in WP.

Is the appropriate thing just to remove <strike> and not replace it with <del>?

  • Keywords has-patch added; bg|has-patch bg|commit removed

comment:7   matt6 years ago

  • Resolution set to wontfix
  • Status changed from assigned to closed
  • Milestone 2.1 deleted
Note: See TracTickets for help on using tickets.