3c7b69d6d4
The special-chars test only checked substrings (data-caption=/Tom/Jerry) that survive even if escapeHtmlAttr stopped escaping " or double-encoded &. Assert the exact escaped attribute in the intermediate Markdown (data-caption="Tom & "Jerry"") and re-parse the rendered HTML to confirm the recovered caption is exactly Tom & "Jerry". Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>