Skip to content

Changelog directive renders unnecessary square brackets #3638

Description

@lcawl

Describe the bug

Per elastic/docs-content#6599 (review) when the changelog directive doesn't use dropdowns, it's putting unnecessary square brackets around the issue and PR links.

Expected behavior

The brackets should not be present.

Steps to reproduce

Per elastic/docs-content#6599 to reproduce the issue just use a changelog directive without the :dropdowns: clause, for example on a breaking change or deprecations page.

Tooling

  • docs-builder
  • migration tooling
  • I'm not sure

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions