Skip to content

Backslashes should be escaped in YAML strings. #114

@jeberger

Description

@jeberger
Contributor

If an error message contains backslashes, YAML output looks like this:

  ---
  message: "Test failed\"
  severity: failed
  ...

which is not valid since the backslash now looks like it's escaping the closing double quote. Instead it should be:

  ---
  message: "Test failed\\"
  severity: failed
  ...

Activity

added a commit that references this issue on Nov 20, 2019
72fdfd1
Krinkle

Krinkle commented on Jul 30, 2020

@Krinkle
Member

I believe this is a duplicate of #109 which was fixed in 1.2.2. Let me know if you still find an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @Krinkle@jeberger

      Issue actions

        Backslashes should be escaped in YAML strings. · Issue #114 · qunitjs/js-reporters