WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 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:

Description

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)

comment:1 @westi4 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.

comment:2 @nacin4 years ago

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

Note: See TracTickets for help on using tickets.