ProjectEvergreen / ProjectEvergreen/wcc
HTML entities (or literal HTML tags in attributes) are not being respected and treated as literal HTML tags
@Abhikorekar is already working on this.
Since Feb 15, 2026.
- Dominant language
- JavaScript
- Stars
- 126
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
Summary
Currently on the home page in the Capabilities section, the <template> feature needed to authored with explicit spaces before the angle brackets
<wcc-capability-box heading="< template >">
<p>Template element support (createElement)</p>
</wcc-capability-box>
Otherwise, without the spaces, all the content disappears, which makes sense, as parse5 is literally interpreting the contents as an HTML tag
<wcc-capability-box heading="<template>">
<p>Template element support (createElement)</p>
</wcc-capability-box>
However, even when using HTML entities (which I would expect to work) the content disappearing still occurs
<wcc-capability-box heading="<template>">
<p>Template element support (createElement)</p>
</wcc-capability-box>
Would be nice to figure out a way to make this work one way or the other.
Additional Details
Based on some initial research, it seems to be a parse5 issue - https://github.com/ProjectEvergreen/wcc/pull/250/changes#r2820010219
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.