|
@@ -1873,8 +1873,11 @@ public class WorkServiceImpl extends ServiceImpl<WorkMapper, WorkEntity> impleme
|
|
|
content.put(setTypeMapping.get(hotspotType), resJson);
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- workHot.setContent(content.toJSONString().replace("\\\"","\""));
|
|
|
+ if (hotspotType.equalsIgnoreCase("textarea")){
|
|
|
+ workHot.setContent(content.toJSONString());
|
|
|
+ }else {
|
|
|
+ workHot.setContent(content.toJSONString().replace("\\\"","\""));
|
|
|
+ }
|
|
|
}
|
|
|
public static boolean isJSONValid(String test) {
|
|
|
try {
|