Revert "💄 换行解析调整"

This reverts commit 3ed8753314.
This commit is contained in:
目棃
2024-09-27 21:23:17 +08:00
parent aa1220eadd
commit f4291681f7

View File

@@ -42,7 +42,7 @@ function getParsedData(data: TGApp.Plugins.Mys.SctPost.Base[]): TGApp.Plugins.My
res.push(cur);
continue;
}
tp.insert = tp.insert.replace(/\r/g, "\n");
tp.insert = tp.insert.replace(/\r\n/g, "\n").replace(/\r/g, "\n");
if (tp.insert === "\n") {
child.push(tp);
cur = {