hlxsites / prisma-cloud-docs-website

blocks and gdoc authored content for https://docs.prismacloud.io
Apache License 2.0
3 stars 2 forks source link

[AsciiDoc conversion] Stray id text #171

Closed iansk closed 11 months ago

iansk commented 11 months ago

There's some stray text being rendered at the end of some articles. It only seems to occur when an anchor is specified at the top of an adoc file (i.e. on the first top-level heading).

Repro:

  1. Open a new browser tab, and go to this page: https://main--prisma-cloud-docs-website--hlxsites.hlx.live/prisma/prisma-cloud/en/enterprise-edition/content-collections/runtime-security/rs-architecture

  2. Scroll to the bottom of the page. Notice there's some weird text at the bottom

franklin-uat-stray-id-text
  1. See the corresponding adoc file here: https://github.com/hlxsites/prisma-cloud-docs/blob/664c01f293f4abae1fdc6b87297aff43571fbad3/docs/en/enterprise-edition/content-collections/runtime-security/rs-architecture.adoc?plain=1#L1

    The stray text rendered on the page matches the anchor in the adoc source.

Repro2:

  1. Franklin page (scroll to the bottom of the page): https://main--prisma-cloud-docs-website--hlxsites.hlx.page/prisma/prisma-cloud/en/enterprise-edition/content-collections/get-started/access-keys

  2. Corresponding adoc file: https://github.com/hlxsites/prisma-cloud-docs/blob/664c01f293f4abae1fdc6b87297aff43571fbad3/docs/en/enterprise-edition/content-collections/get-started/access-keys.adoc?plain=1#L3