CLAUDE WATERMARK REMOVER · MARKDOWN TEST
Can an invisible separator break a Markdown reference title?
The extra U+200B between the destination and quoted title stopped this line from defining a reference. Removing it restored the link and title.
What changed in the preview
The visible ASCII space remains after cleanup. It can separate the destination from the title because the hidden character no longer sits before the quote. Look at the definition and its use together; the reference can fail even when the inline label is spelled correctly.
What this test covers
This fixture uses a same-line title with double quotes. Other quoting styles are outside this check. Compare the two rendered outputs below with the original and cleaned source.
Measured source and preview
Original Markdown
[draft]: /draft \u200B"Notes" Open [link][draft].
Cleaned Markdown
[draft]: /draft "Notes" Open [link][draft].
The original source and its preview contain a literal U+200B, displayed below as \u200B. The HTML is shown as text.
Before cleanup
<p>[draft]: /draft \u200B"Notes"</p> <p>Open [link][draft].</p>
After cleanup
<p>Open <a href="/draft" title="Notes">link</a>.</p>
Reproduce locally
Save reproduce.cjs and tested-app.js together. Run npm install --no-save commonmark@0.31.2, then node reproduce.cjs. Compare with the recorded input, output and HTML. The test uses the homepage callback with a minimal DOM. It does not use Claude output or test statistical watermark detection.
See the CommonMark specification and another measured Markdown case.