diff --git a/lib/models/video/reply/content.dart b/lib/models/video/reply/content.dart index e210db9a2..44b90eac0 100644 --- a/lib/models/video/reply/content.dart +++ b/lib/models/video/reply/content.dart @@ -1,14 +1,13 @@ class ReplyContent { - ReplyContent({ - this.message, - this.atNameToMid, // @的用户的mid null - this.memebers, // 被@的用户List 如果有的话 [] - this.emote, // 表情包 如果有的话 null - this.jumpUrl, // {} - this.pictures, // {} - this.vote, - this.richText - }); + ReplyContent( + {this.message, + this.atNameToMid, // @的用户的mid null + this.memebers, // 被@的用户List 如果有的话 [] + this.emote, // 表情包 如果有的话 null + this.jumpUrl, // {} + this.pictures, // {} + this.vote, + this.richText}); String? message; Map? atNameToMid; @@ -20,7 +19,7 @@ class ReplyContent { Map? richText; ReplyContent.fromJson(Map json) { - message = json['message']; + message = json['message'].replaceAll('>', '>').replaceAll('"', '"'); atNameToMid = json['at_name_to_mid'] ?? {}; memebers = json['memebers'] ?? []; emote = json['emote'] ?? {};