mirror of
https://github.com/gohugoio/hugo.git
synced 2026-10-15 06:49:46 +02:00
Chroma writes the line anchor prefix verbatim into the id and href attributes it generates, so a lineAnchors value from a code-fence attribute could inject markup into the rendered page. Thanks to @DONG2209 for reporting this issue. Co-Authored-By: Nguyễn Quốc Đồng <126535119+DONG2209@users.noreply.github.com> Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>