Closed torokati44 closed 3 months ago
This causes test failures for us here: https://github.com/ruffle-rs/ruffle/pull/16774
Looking at that commit, that looks to be a purposeful change. As has happened for us before, the issue seems to be that Adobe Flash Player, and especially AVM1, is particularly lenient with what it allows in XML, and we need to match that behavior. Maybe @Mingun can add a separate check that we could disable to get the old behavior back.
FWIW "not allowed even in HTML" is not the strongest of arguments. As seen above, there are lots of "XML-ish" formats in the wild, not just HTML. As long as it's a somewhat comprehensible sequence of XML "events", I don't see why having a dangling close tag shouldn't be reported as is, like it was before.
Yes, I think, new config option should solve this problem. Feel free to make a PR.
Don't you think to watch the project more closely and review PRs (I do not have rights to manage the list of official reviewers from whom I can request a review in GitHub UI, although)? Reviews from users with real life projects could be helpful.
I have some plans to increase reader compliance in the near future and the first step is #766.
With
v0.31
, given this code:The output is this:
Starting with
v0.32
, with this slightly adapted code:The output is: