Skip to content

Commit 70cc862

Browse files
committed
Disabling html escaping in JSON. Fixes issue 8487
1 parent f21e8f2 commit 70cc862

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: java/client/src/org/openqa/selenium/remote/BeanToJsonConverter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public String convert(Object object) {
6363

6464
try {
6565
JsonElement json = convertObject(object);
66-
return new GsonBuilder().serializeNulls().create().toJson(json);
66+
return new GsonBuilder().disableHtmlEscaping().serializeNulls().create().toJson(json);
6767
} catch (Exception e) {
6868
throw new WebDriverException("Unable to convert: " + object, e);
6969
}

0 commit comments

Comments
 (0)