Update Sanitize gem to resolve issue with invalid closing tags on track and source elements

Description

When using the <track> and <source> elements inside an <audio> or <video> element, closing </track> and </source> tags are automatically added.

Example input:

Example output:

However, if you run the resultant code through the W3 Validator, it gives a "Stray end tags" error about </track> and </source>.

So the desired output would be:

Updating the Sanitize gem appears to fix this, so let's do that! We'll also want to do a quick regression test of the HTML. (Instructions for that are on the wiki page titled HTML Tag Regression.)

Environment

None

Status

Assignee

Unassigned

Reporter

Sarken

Roadmap

Misc

Priority

Medium

Affects versions

Fix versions

None

Components

BackEnd

Difficulty

Medium

Required Access Level

None

Epic Link

Milestone

Internal 0.9
Configure