Closed jgarber623 closed 6 months ago
I wonder if there is something to win by also including a "negative" test?
<div id="d" class="p-y"></div>
The d
should not show up in the microformats output then.
Also wondering if we want to accept tests that make no sense content wise. Not even the microformats of this example make any sense, even if they are completely valid for testing the parser edge-cases. Not sure what our policy on that should be.
I agree that real-world examples (or at least real-world adjacent) examples are more helpful. @Zegnat Want to update your example and I can update the test files?
@Zegnat Wanted to follow up on this. Looking back at my comment above, do you want to update your example and I can update the test files? Or, is this PR in an acceptable place to merge?
This PR adds a new test for nested IDs as noted by @Zegnat in #120.