WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#8321 closed enhancement (fixed)

Add <tt> to the whitelist in wptexturize for no formatting

Reported by: JulienV Owned by: westi
Milestone: 2.8 Priority: normal
Severity: normal Version:
Component: Formatting Keywords: has-patch tested commit
Focuses: Cc:

Description

Hi,

Would you please apply the attached patch to formatting.php, which does allow better use of <tt> in posts?

Cheers,
Julien

Attachments (1)

wp-formatting.diff (782 bytes) - added by JulienV 7 years ago.
Proposed patch

Download all attachments as: .zip

Change History (6)

@JulienV7 years ago

Proposed patch

comment:1 @westi7 years ago

  • Keywords has-patch needs-testing added
  • Owner changed from anonymous to westi
  • Status changed from new to assigned
  • Summary changed from Please include <tt> in formatting rules to Add <tt> to the whitelist in wptexturize for no formatting

comment:2 @ryan6 years ago

  • Component changed from Optimization to Formatting

comment:3 @Denis-de-Bernardy6 years ago

  • Keywords tested commit added; needs-testing removed

commit? wontfix?

comment:4 @markjaquith6 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [11313]) Exclude <tt> from formatting. props JulienV. fixes #8321

comment:5 @nbachiyski6 years ago

Also, see #7056.

Note: See TracTickets for help on using tickets.