Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid HTML generated by website #1170

Open
5 of 8 tasks
Tracked by #1266 ...
chalin opened this issue Feb 24, 2022 · 0 comments
Open
5 of 8 tasks
Tracked by #1266 ...

Invalid HTML generated by website #1170

chalin opened this issue Feb 24, 2022 · 0 comments
Labels
bug Something isn't working e0-minutes Effort: < 60 min p2-medium

Comments

@chalin
Copy link
Contributor

chalin commented Feb 24, 2022

For example, consider the following:

<section class="row td-box td-box--1 position-relative td-box--gradient td-box--height-auto">
<div class="container text-center td-arrow-down">
<h1>Vendors Supporting OpenTelemetry</h1>
<span class="h4 mb-0">
<p>Distributions and vendors who natively support OpenTelemetry in their commercial products.</p>
</span>
</div>
</section>

Notice how the <span> contains a <p>, which isn't permitted. There are more such occurrences, search for <\w+ class="h4 for example.

Related:

@chalin chalin added bug Something isn't working e0-minutes Effort: < 60 min p2-medium labels Feb 24, 2022
@chalin chalin mentioned this issue Apr 2, 2022
24 tasks
@chalin chalin changed the title Some pages contain invalid HTML Invalid HTML generated by website Jun 27, 2023
carlosalberto pushed a commit to open-telemetry/opentelemetry-specification that referenced this issue Jun 28, 2023
…3571)

- Contributes to
open-telemetry/opentelemetry.io#1170, because
of OTel spec pages
- Replaces `attribute["client.address"]` by
`Attributes["client.address"]`, since `attribute` appears to be a
**typo**
- Fixes `<td>` spread across multiple lines with intervening blank
lines, since that generates **invalid HTML** in some cases.
  - In most cases I replaced line breaks with `<br>`.
- Replaces code tick markdown syntax in two places since those entries
are in "HTML-only" format.
  For example: replaces \`Debug\` by `<code>Debug</code>`

/cc @svrnm @cartermp
carlosalberto pushed a commit to carlosalberto/opentelemetry-specification that referenced this issue Oct 31, 2024
…pen-telemetry#3571)

- Contributes to
open-telemetry/opentelemetry.io#1170, because
of OTel spec pages
- Replaces `attribute["client.address"]` by
`Attributes["client.address"]`, since `attribute` appears to be a
**typo**
- Fixes `<td>` spread across multiple lines with intervening blank
lines, since that generates **invalid HTML** in some cases.
  - In most cases I replaced line breaks with `<br>`.
- Replaces code tick markdown syntax in two places since those entries
are in "HTML-only" format.
  For example: replaces \`Debug\` by `<code>Debug</code>`

/cc @svrnm @cartermp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working e0-minutes Effort: < 60 min p2-medium
Projects
None yet
Development

No branches or pull requests

1 participant