Giter Site home page Giter Site logo

Comments (6)

lennonpuype avatar lennonpuype commented on June 17, 2024 1

I sent the files to [email protected].

Btw I just noticed that the error only occurs when the matrix that uses this entry type with the custom format title, is set to the cards view.

Maybe that is usefull to know.

from cms.

brandonkelly avatar brandonkelly commented on June 17, 2024 1

Yeah good point. Just fixed that for the next v4 and v5 releases.

from cms.

brandonkelly avatar brandonkelly commented on June 17, 2024 1

Craft 4.8.1 and 5.0.0-beta.6 are out with that fix.

from cms.

brandonkelly avatar brandonkelly commented on June 17, 2024

Iā€™m not 100% sure Iā€™m following you on how this is set up, but it might be fixed in 5.0.0-beta.4. Can you try updating to that?

If not, please send a database backup and your composer.json file over to [email protected].

from cms.

brandonkelly avatar brandonkelly commented on June 17, 2024

We tracked this down to a bug in CP Field Inspect.

from cms.

mmikkel avatar mmikkel commented on June 17, 2024

For posterity, this issue is resolved in CP Field Inspect 2.0.0-beta.2.

@brandonkelly The root problem here was that Html::parseTagAttributes ends up throwing an InvalidHtmlTagException due to the newline in the card tag's data-label attribute. I could be wrong, but AFAIK literal newlines in data attributes isn't considered invalid HTML, so I'm not sure if this should be considered a bug in Craft after all?

from cms.

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.