Make WordPress Core

Opened 20 years ago

Closed 18 years ago

Last modified 18 years ago

#1290 closed defect (bug) (fixed)

Smart quotes in <pre> done by mistake

Reported by: thiemo's profile Thiemo Owned by:
Milestone: Priority: normal
Severity: minor Version: 2.1
Component: General Keywords: dev-feedback
Focuses: Cc:

Description

Inside of [pre], [code] and some other tags sometimes the "smart replacements" of quotes and so on are done by mistake. Try:

[pre]An "example" [strong]andstrong another "example".pre

The second quotes are replaced, the first are not. I added a fix for this.

Attachments (2)

functions-formatting.php.2.diff (734 bytes) - added by Thiemo 20 years ago.
functions-formatting.php.diff (707 bytes) - added by Thiemo 20 years ago.

Download all attachments as: .zip

Change History (8)

#1 @Thiemo
20 years ago

  • Patch set to No

#2 @Thiemo
20 years ago

The first patch does not work properly. I added a new one.

#3 @Justinsomnia
19 years ago

  • Resolution set to duplicate
  • Status changed from new to closed
  • Version changed from 1.5 to 2.0.1

More information and a patch available on #2059 (duplicate)

#4 @Justinsomnia
19 years ago

  • Resolution duplicate deleted
  • Status changed from closed to reopened

#5 @rob1n
18 years ago

  • Keywords dev-feedback added
  • Milestone set to 2.2
  • Version changed from 2.0.1 to 2.1

Would keeping smart quotes out of PRE's and CODE's be feasible? Sounds like a good idea IMO. I've heard lots of stories of poeple's code being messed up due to copy+pasting curly quotes.

#6 @JeremyVisser
18 years ago

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

This already appears to be fixed. Using WP 2.1.1-alpha.

#7 @foolswisdom
18 years ago

  • Milestone 2.2 deleted
Note: See TracTickets for help on using tickets.