Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Console] Syntax highlighting for triple quotes broken #136717

Closed
mibragimov opened this issue Jul 20, 2022 · 1 comment · Fixed by #136719
Closed

[Console] Syntax highlighting for triple quotes broken #136717

mibragimov opened this issue Jul 20, 2022 · 1 comment · Fixed by #136719
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Console Dev Tools Console Feature Feature:Dev Tools Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@mibragimov
Copy link
Contributor

Kibana version:
v8.4

Describe the bug:
While working on #136055, I found that syntax highlighting for triple quoted strings is broken. However, sending requests with triple quotes in the request body works as expected.

Steps to reproduce:
Paste the following request into Console editor

POST /test01/_doc
{
  "message": """look "escaped" quotes"""
}

Expected behavior:
Should not display error marker

Screenshots (if relevant):
Screen Shot 2022-07-20 at 17 10 33
Screen Shot 2022-07-20 at 17 10 56

@mibragimov mibragimov added bug Fixes for quality problems that affect the customer experience Feature:Console Dev Tools Console Feature Feature:Dev Tools Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels Jul 20, 2022
@mibragimov mibragimov self-assigned this Jul 20, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/platform-deployment-management (Team:Deployment Management)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Console Dev Tools Console Feature Feature:Dev Tools Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants