Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#15343 closed defect (bug) (fixed)

Caption shortcode inserted with slashes when using HTML editor and not the Visual one.

Reported by: westi Owned by: westi
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.0
Component: Editor Keywords:
Focuses: Cc:


If you insert and image with the following caption to the Visual editor the quotes get escaped.

If you insert it when in HTML mode they don't instead they get slashed which doesn't help much.

If you switch to Visual mode they are autoencoded.

Caption: 4' x 6'2"

Change History (2)

#1 @westi
8 years ago

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

(In [16236]) Encode quotes and chevrons in the HTML editor version of the generated captions too. Fixes #15343.

#2 @nacin
8 years ago

(In [16245]) Use spaces for alignment. see #15343 [16236]

Note: See TracTickets for help on using tickets.