davsclaus opened a new pull request, #1782:
URL: https://github.com/apache/camel-website/pull/1782

   Fixes the `check:html` failures on `main` after #1780 (27 errors on 
`blog/2026/09/camel-simple-customfunction/index.html`).
   
   - **Absolute links** — the post's link references pointed at 
`https://camel.apache.org/...`; switched them to root-relative paths like the 
other posts.
   - **Trailing whitespace** — not present in the Markdown. Chroma's YAML lexer 
emits a spurious whitespace token at the end of the last line of every literal 
block scalar (`simple: |`, `message: |`). Added 
`layouts/_default/_markup/render-codeblock.html`, which runs the default 
highlighter and strips trailing whitespace from each line of the output. The 
wrapper markup (`<div class="highlight"><pre ...><code ...>`) is unchanged.
   - The Smooks post (2025/02) had been added to `.htmlvalidateignore` for the 
same Chroma quirk; with the hook it validates clean, so removed the entry.
   
   Verified locally with a production `build:minify` followed by 
`html-validate` on both pages: no errors.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to