diff --git a/src/components/post/tp-parser.vue b/src/components/post/tp-parser.vue
index 3ed99595..a4efff73 100644
--- a/src/components/post/tp-parser.vue
+++ b/src/components/post/tp-parser.vue
@@ -60,6 +60,11 @@ function getParsedData(data: TGApp.Plugins.Mys.SctPost.Base[]): TGApp.Plugins.My
const text = parsedText[i];
child.push(parsedText[i]);
if (text.insert === "\n") {
+ if (child.length === 1) {
+ res.push(child[0]);
+ child = [];
+ continue;
+ }
cur = {
insert: "",
attributes: text.attributes,
@@ -70,7 +75,7 @@ function getParsedData(data: TGApp.Plugins.Mys.SctPost.Base[]): TGApp.Plugins.My
child = [];
}
}
- if (check !== parsedText.length - 1 && child.length > 1) res.push(...child);
+ if (check !== parsedText.length - 1 && child.length > 0) res.push(...child);
}
if (res.length === 0 && child.length > 0) res.push(...child);
return res;
diff --git a/src/components/postReply/tpr-reply.vue b/src/components/postReply/tpr-reply.vue
index de34ce57..672cd0c9 100644
--- a/src/components/postReply/tpr-reply.vue
+++ b/src/components/postReply/tpr-reply.vue
@@ -45,7 +45,6 @@
@click="showReply()"
>
mdi-message-text
- {{ props.modelValue.sub_replies.length }}