Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#46114 closed defect (bug) (duplicate)

Greater-than sign in image alt text is not quoted properly

Reported by: jikamens's profile jikamens Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:


If you put a greater than sign in the alt text of an image then it isn't quoted when the image is inserted into your posting as a block, with the result that it terminates the img tag and messes everything up.

Change History (2)

#1 @jikamens
4 years ago

I changed the greater than sign in the alt text to ">" and that didn't work either!

#2 @afercia
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

@jikamens thanks for your valid report. This is a known issue and it's already tracked in #45387 and in the Gutenberg GitHub repository, see and Please do feel free to follow #45387 and join the discussion there.

Note: See TracTickets for help on using tickets.