Skip to content
SprecherEast
Issue 985

Correct the advice on unclosed HTML comment openers in the checks page

Back to our plan
Done
documentationcitoolingpriority: low

Type

documentation

Summary

The checks page tells people to put text that contains an HTML comment opener in a code block. That advice does not work: the checks strip from an opener to the end of the text, even inside a code block, so only leaving the opener out works.

Details

docs/process/issue-and-pr-checks.md has a paragraph on what happens when a PR description or issue answer contains an unclosed HTML comment opener. Its last sentence recommends a code block. The reader that the issue check and the PR gate share removes everything from the opener to the end of the text, with no regard for code spans or fences, so a code block hides the rest of the text in the same way. Reword the sentence to say to leave the opener out (describe it in words instead), and check the matching comment in formAnswers says the same.

Found by the independent review of #983.

Acceptance criteria

  • Not done: The page says to leave the opener out, and no longer recommends a code block.
  • Not done: The wording in formAnswers' comment and the page agree.
  • Not done: The page contains no literal opener (the gate would hide the text after it).

Files likely touched

docs/process/issue-and-pr-checks.md, .github/scripts/issue-form.mjs

Must not touch

.github/workflows/, src/

Open questions

None.

Area

documentation

Priority

low


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab