Coder Social home page Coder Social logo

[v6.6.7] HTML being parsed and re-written breaking <source> inside <video> or <picture> elements. (Workaround / Fix inside) about static-html-output HOT 2 OPEN

elementor avatar elementor commented on May 28, 2024
[v6.6.7] HTML being parsed and re-written breaking inside

Comments (2)

leonstafford avatar leonstafford commented on May 28, 2024 1

Hi @lukearmstrong, many thanks for reporting this and providing workarounds!

Invalid/unparsable HTML was one of the most unnecessary blockers for V6.x users, so I've taken that out of the core for upcoming V7. It will reappear in the form of the Advanced HTML Processor add-on, which will provide functions to strip WP footprints and anything other transformations requiring HTML parsing. It's still a way off from a testable build, as I'm focusing on the core functions at the moment, with simple string replacement working for the majority of users.

When the time comes to implement that and close this issue off for the new add-on, I may implement something to address this - perhaps a separate addon to force adjusting the markup of these in the dev site or to transform during processing...

Thanks again!

from static-html-output.

leonstafford avatar leonstafford commented on May 28, 2024

@lukearmstrong I've added some unit testing around parsing in recently and will add these example inputs in and work on a fix for it

from static-html-output.

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.