Croway opened a new pull request, #3348:
URL: https://github.com/apache/camel-kamelets/pull/3348

   _Claude Code on behalf of Croway_
   
   ## Why
   
   Since #3336 was merged, the `Camel.website` main build fails in `check:html` 
([build 
#2954](https://ci-builds.apache.org/job/Camel/job/Camel.website/job/main/2954/)),
 so the website is not deployed:
   
   ```
   public/camel-kamelets/next/xslt-action.html
     1:60986  error  Unrecognized character reference "&name;"  
unrecognized-char-ref
   ```
   
   The Kamelet description is rendered as AsciiDoc on the website. Backticks 
make text monospace but do not escape it: Asciidoctor turns `&name;` back into 
a raw character reference, so the page contains `<code>&name;</code>`. `name` 
is not an HTML entity, so html-validate rejects it.
   
   ## Change
   
   The "Good to know" sentence of `xslt-action` no longer uses the literal 
reference:
   
   > ...an entity that points to a file or URL is not read, so an entity 
reference in the body gives nothing.
   
   I reworded the sentence instead of escaping it (`\&name;` or `+&name;+`). 
The description is also copied as plain text into `kamelets-index.json`, which 
other tools read, and an escape would show up there as written.
   
   The copy in `library/camel-kamelets` and `kamelets-index.json` are 
regenerated with `./mvnw clean install`.
   
   ## Verification
   
   - Rendered the old and new sentence with Asciidoctor.js 2.2.8 (the version 
Antora 3.1 uses) and checked the output with html-validate 8, as `check:html` 
does. The old text fails with `unrecognized-char-ref`; the new text passes.
   - No other Kamelet in `kamelets/` has an entity-like reference (`&word;`, 
`&#NNN;`, `&#xHH;`).
   - `./mvnw clean install` passes.
   


-- 
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