Yaml: Last list entry used instead of showing top level yaml items

0 votes
asked May 11, 2022 in Bug by any_can_see (160 points)
edited May 11, 2022 by any_can_see

Both of the following (A) and (B) are correct yaml and should render the same as follows:

c

A)

@startyaml
compute:
  - name: worker
    replicas: 2
@endyaml

B)

@startyaml
compute:
- name: worker
  replicas: 2
@endyaml

Unexpectedly, case B ignores the holding compute: entry, showing only the list entry as follows:

b

Edits: Fix formatting

1 Answer

+1 vote
answered Feb 19 by The-Lu (85,440 points)
selected Feb 19 by any_can_see
 
Best answer

Hello A.,

FYI, that is now fixed on V1.2025.1.

Thank to PlantUML team,

Regards,
Th.

...