In reading can-component.html I noticed the sentence,
Use the tag to position the custom element’s source HTML.
the tag seemed ambiguous here; I decided it must refer to the <content>
tag. So I located the source file for this page intending to submit a Pull Request.
Then things got more interesting: line 199 of the source file reads:
Use the [can-component/content] tag to position the custom element’s source HTML.
So the correct text is in place but for some reason doesn’t appear in the compiled document, either here or in other passages in the source file.
However, other similarly formatted references are rendered in the compiled document. For example, on line 64,
can be rendered by a corresponding [can-component/can-slot]
is rendered in the compiled document as
can be rendered by a corresponding <can-slot>
and on line 310,
The [can-component/connectedCallback] function
is rendered as:
The connectedCallback function
I’m guessing there is a missing reference somewhere, or maybe content is a reserved word. Any help appreciated, thanks.