-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Labels
Description
Describe the bug
When I use the following code and annotate the url
value with a 2
, the url
value is truncated:
xpack:
security:
authc:
realms:
active_directory:
my_ad:
order: 0
domain_name: example.com <1>
url: ldaps://dc1.ad.example.com:3269, ldaps://dc2.ad.example.com:3269 <2>
load_balance:
type: "round_robin" <3>

When I remove the annotation, the content is not truncated:
xpack:
security:
authc:
realms:
active_directory:
my_ad:
order: 0
domain_name: example.com <1>
url: ldaps://dc1.ad.example.com:3269, ldaps://dc2.ad.example.com:3269
load_balance:
type: "round_robin" <3>

seems to be tied to the contents of this line specifically. if I put it in its own snippet, it fails in the same way
url: ldaps://dc1.ad.example.com:3269, ldaps://dc2.ad.example.com:3269 <2>

and it doesn't have to be a <2>
:
url: ldaps://dc1.ad.example.com:3269, ldaps://dc2.ad.example.com:3269 <1>

Expected behavior
annotations do not impact code block contents (other than adding annotations)
Steps to reproduce
see above
Tooling
- docs-builder
- migration tooling
- I'm not sure