I got a bridge with JavaScript and it gives me some bad input that looks as below, I need to fix it on my side.
String input = "\u003chtml\u003e\u003cbody\u003eMoved\u003c/body\u003e\u003c/html\u003e\n";
I want to decode it to this output:
String output = decode(input);
System.out.println(output);
It should print the below line(like in this nice tool)
<html><body>Moved</body></html>