Git Product home page Git Product logo

Comments (4)

jmanico avatar jmanico commented on August 16, 2024

Bump asking Mike to take a peek at this. We also love patches so please consider submitting a patch for consideration!
Aloha,
Jim

from java-html-sanitizer.

mikesamuel avatar mikesamuel commented on August 16, 2024

This affects <video> and other new tags as well.

The problem is that the table ElementContainmentRelationships is long due for an overhaul to take into account the many changes in the HTML5 spec.
Even if text is added to the allowed content for <audio> and <video>, <track> and <source> elements would still be missing.

I asked http://stackoverflow.com/questions/41110211 to see if I can find a source of data to do that.

from java-html-sanitizer.

mikesamuel avatar mikesamuel commented on August 16, 2024

I implemented a scheme that I think addresses this. Will post to the public list since it is not a minor update.

from java-html-sanitizer.

pickle-weasle avatar pickle-weasle commented on August 16, 2024

Pretty sure this is working now. We were seeing text within audio/video tags getting moved to outside the tags, but this has been resolved in the newest release

from java-html-sanitizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.