CLAUDE WATERMARK REMOVER · MARKDOWN TEST
Can cleanup release text trapped after a Markdown HTML comment?
Removing U+200B between the closing dashes and angle bracket ended the comment and let the following paragraph render.
What changed in the preview
The unclosed HTML block consumed the remaining lines in this test. The safe renderer omitted that block rather than showing its content. Check the closing delimiter in source and verify that the following paragraph appears; other Markdown renderers may handle raw HTML differently.
What this test covers
This test checks whether the next paragraph reaches HTML. It does not recommend enabling raw HTML. Compare the two rendered outputs below with the original and cleaned source.
Measured source and preview
Original Markdown
<!-- note --\u200B> Visible
Cleaned Markdown
<!-- note --> Visible
The original source and its preview contain a literal U+200B, displayed below as \u200B. The HTML is shown as text.
Before cleanup
<!-- raw HTML omitted -->
After cleanup
<!-- raw HTML omitted --> <p>Visible</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.