HTML output produced may be not valid
squakez opened this issue · comments
Pasquale Congiusti commented
We're experiencing a few problems about HTML validity. Putting below the fragments if they can help you identifying the issue.
- Double
p
included in the resource descriptions. Validator will complain withNo p element in scope but a p end tag seen.
<p>
<p>Package v1alpha1 contains API Schema definitions for the camel v1alpha1 API group</p>
</p>
...
<p>
<p>Kamelet is the Schema for the kamelets API</p>
</p>
br
tag at the end ofcode
. Validator will complain withEnd tag br.
<code>apiVersion</code></br>
string</td>
p
element nested inh3
. Validator will complain withElement p not allowed as child of element h3 in this context.
<h3 id="camel.apache.org/v1alpha1.EndpointType">EndpointType
(<code>string</code> alias)</p></h3>
Ahmet Alp Balkan commented
Patches are welcome for these. I am not sure if we have full control over all of them, however. Some of them are probably coming from our "markdown to html" converter, and we have to add <p>
for the texts that are not detected as paragraph from the package/method godoc comments.