Skip to content

Algorithm result print issues: Printed the escaped result, expected the unscaped result #12

@Jidcoo

Description

@Jidcoo

Enhancer Version

1.0.2

Java Version

JDK 21

Description

When the algorithm returns results that contain some results that can be escaped,
the enhancer prints the escaped results instead of the expected original results.

For example:
Algorithm result: "str=123"
Actual printing: "str \ u003d 123"
Expected printing: "str=123"

Reproduction steps

Testing Code

public class Test extends LeetcodeJavaDebugEnhancer {

    class Solution {
        public String eval(String str) {
            return "str = " + str;
        }
    }

}

Input Case

"123"

Output Result

"str = 123"

Actual Printing

"str \ u003d 123"

Expected Printing

"str = 123"

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions