Skip to content

Keep the FAQ quotation marks straight - #723

Merged
slachiewicz merged 1 commit into
masterfrom
faq-keep-straight-quotes
Aug 10, 2026
Merged

Keep the FAQ quotation marks straight#723
slachiewicz merged 1 commit into
masterfrom
faq-keep-straight-quotes

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Follow-up to #722, which converted this FAQ from FML to Markdown.

FML is XML, so it rendered quotation marks exactly as written. Markdown goes through flexmark, whose smart-punctuation extension rewrites a bare " into a typographic pair - so the converted page silently changed the visible text:

Three pairs: "failures", "warnings" and "UnusedPrivateMethod".

The last is a PMD rule name a reader may copy into a ruleset, where a curly quote is actively unhelpful.

Writing " in the Markdown source keeps them straight. That is the convention the already-converted pages in maven-site-plugin use.

Verified by rebuilding and comparing against the original FML rendering: the quotation marks match again, no anchor changed, and the page is otherwise identical.

Drafted with Claude - please verify

The FML page rendered straight quotation marks, being XML. In Markdown
flexmark's smart-punctuation rewrites a bare " into a typographic pair,
so the converted page changed what the reader sees:

  "failures"            ->  “failures”
  "warnings"            ->  “warnings”
  "UnusedPrivateMethod" ->  “UnusedPrivateMethod”

The third is a PMD rule name that a reader may copy into a ruleset, so a
curly quote there is actively unhelpful. Writing " in the source
keeps them straight, which is the convention the already-converted pages
in maven-site-plugin use.

Verified by rebuilding the site and comparing against the FML rendering:
the quotation marks match the original again, and no anchor changed.

Generated-by: Claude Opus 5 (1M context)
@slachiewicz slachiewicz added the documentation Improvements or additions to documentation label Aug 10, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review August 10, 2026 00:56
@slachiewicz
slachiewicz merged commit 2327c5a into master Aug 10, 2026
20 of 21 checks passed
@slachiewicz
slachiewicz deleted the faq-keep-straight-quotes branch August 10, 2026 00:56
@github-actions github-actions Bot added this to the 3.28.1 milestone Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant