From b64917bc6573ec313ec7e7ee13bfee68a4f93860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Zieli=C5=84ski?= Date: Sun, 3 May 2026 21:58:14 +0200 Subject: [PATCH] docs(xml): fix mismatched tags in pitfalls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Round-2 audit found that two Footgun callouts in xml.md had unbalanced tags — an artifact of an earlier "bold the lead sentence" reformat that didn't account for the existing `#1:` prefix. Each pitfall opened with `#N:` and then re-emitted a closing `` at the end of the lead, so the rendered HTML had one open and two closes:

Footgun: #1: namespace-aware methods… …not the prefix written in the tag. ↑ stray close Visible symptom: the bold span ran from `#1:` colon to the end of the sentence, but the entire rest of the paragraph also rendered bold in some browsers (the second `` close-without-open is forgiven by the parser, so its effect depended on UA). Either way the lead wasn't crisply bolded the way the other pitfall callouts on the page are. Fixed by dropping the `#N:` numbering (it added nothing — the extractor already renders each pitfall as its own