w3c / reffy

Reffy is a Web spec crawler and analyzer tool. It is notably used to update Webref
MIT License
69 stars 23 forks source link

[algorithms] Fix handling of sub-steps #1626

Closed tidoust closed 1 month ago

tidoust commented 1 month ago

There were a couple of cases where algorithm extraction got confused while parsing sub-steps, either because another sub-step had a <dfn> or because the logic recursively went back to the root of the algorithm instead of stopping at the parent step.