Fixed the double quote issue with comic props json file storage
This commit is contained in:
parent
626e75b88e
commit
e61f619051
|
@ -132,10 +132,12 @@ public final class Strip {
|
|||
sb.append(", \"mNextUid\":\"" + mNextUid + "\"");
|
||||
}
|
||||
if(mTitle != null) {
|
||||
sb.append(", \"mTitle\":\"" + mTitle + "\"");
|
||||
String temp = mTitle.replaceAll("\"", "\\\"");
|
||||
sb.append(", \"mTitle\":\"" + temp + "\"");
|
||||
}
|
||||
if(mText != null) {
|
||||
sb.append(", \"mText\":\"" + mText + "\"");
|
||||
String temp = mText.replaceAll("\"", "\\\"");
|
||||
sb.append(", \"mText\":\"" + temp + "\"");
|
||||
}
|
||||
sb.append("}");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue