Evan Jacobs

Results 433 comments of Evan Jacobs

Hmm we should be discarding script tags entirely as they're obviously a malicious vector

Interesting... this is probably a priority weighting bug. I'll try and take a look... would you mind contributing a failing test for this?

Yeah, this is a hard problem to solve. Arbitrary HTML in markdown is always an edge case, so I'm not keen to spend too much time working on fixing this...

Looking at the code though I'm not sure this is actually implemented?

Should be working in v6 beta

You have media twice in that conditional. Container queries also require you to set https://developer.mozilla.org/en-US/docs/Web/CSS/container-type on the parent.

Probably can just add this functionality into StylesheetManager and thread it through into the stylis instance

It’s in v6 now but I haven’t cut a new beta with it yet, perhaps next week

If you're still around, could you add a changeset for this? Or someone can cherry pick into a new PR and add one. Thanks!