Skip to content

Auto-indenting Console requests converts triple-quoted strings to escaped quotes #44729

@cjcenizal

Description

@cjcenizal

To reproduce, enter this input:

PUT bar/_doc/1
{
  "content": """trip"le"""
}

Auto-indent this request and it will be converted to:

PUT bar/_doc/1
{
  "content": "trip\"le"
}

Ideally, triple-quoted strings should remain triple-quoted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:ConsoleDev Tools Console FeatureFeature:Dev ToolsTeam:Kibana ManagementDev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t//bugFixes for quality problems that affect the customer experience

    Type

    No type
    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