Skip to content

Indented snippets being partially cut #1313

Open
@ivancea

Description

@ivancea

Describe the bug

Example at: https://www.elastic.co/docs/reference/aggregations/search-aggregations-bucket-significantterms-aggregation#_jlh_score

The source snippets: https://github.com/elastic/elasticsearch/blob/main/docs/reference/aggregations/search-aggregations-bucket-significantterms-aggregation.md?plain=1#L256

Those snippets have an extra indentation, which makes it appear wrongly in the docs:

Image

Expected behavior

The snippets should be complete, whether indented or not. Or there should be some error if it's not supported

Steps to reproduce

No response

Tooling

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions