Make WordPress Core

Opened 21 years ago

Closed 20 years ago

#2620 closed defect (bug) (fixed)

Quotes and apostrophes in a post title result in failed XHTML validation

Reported by: elyograg Owned by:
Priority: normal Milestone:
Component: General Version: 2.0.2
Severity: normal Keywords: quotes apostrophes post title validation
Cc: Focuses:

Description

If you enter both quotes and apostrophes into a post title, your index page will fail XHTML validation. Here's mine:

​http://validator.w3.org/check?uri=http%3A%2F%2Fpurg.atory.org%2F2006%2F02%2F

If you go directly to the offending post, it passes:

​http://validator.w3.org/check?uri=http%3A%2F%2Fpurg.atory.org%2F2006%2F02%2F12%2Fdont-ever-turn-mommys-knobs%2F

The "Writing Posts" page on the codex says Wordpress will deal with quotes and other characters automatically, and proceeds to give an example title that will actually result in the problem - "My Site - Here's Lookin' at You, Kid".

​http://codex.wordpress.org/Writing_Posts

Change History (1)

#1 @Nazgul
20 years ago

  • Resolution → fixed
  • Status new → closed

Just tested this and it seems to be already fixed in trunk.

Note: See TracTickets for help on using tickets.