Opened 7 years ago

Closed 7 years ago

#3258 closed defect (bug) (fixed)

Quotes in image titles mess up validation

Reported by: mdawaffe Owned by: mdawaffe
Priority: normal Milestone: 2.1
Component: Template Version: 2.1
Severity: normal Keywords:
Cc:

Description

If you use double quotes in an image title, they are put verbatim into the HTML, which of course breaks the quoting.

Attachments (1)

3258.diff (1.7 KB) - added by mdawaffe 7 years ago.

Download all attachments as: .zip

Change History (4)

3258.diff

Hardcode wp_specialchars( · , 1 ) into several display-only functions.

  • Component changed from Administration to Template
  • Owner changed from anonymous to mdawaffe
  • Status changed from new to assigned
  • Resolution set to fixed
  • Status changed from assigned to closed

(In [4402]) Entity encode image title attribute. Props mdawaffe. fixes #3258

Note: See TracTickets for help on using tickets.