diff --git a/packages/backend/src/mfm/from-html.ts b/packages/backend/src/mfm/from-html.ts
index b0b8957c6d..b00d1441e0 100644
--- a/packages/backend/src/mfm/from-html.ts
+++ b/packages/backend/src/mfm/from-html.ts
@@ -19,6 +19,13 @@ export function fromHtml(html: string, hashtagNames?: string[]): string {
return appendChildren(childNodes, background).join("").trim();
}
+ /**
+ * We only exclude text containing asterisks, since the other marks can almost be considered intentionally used.
+ */
+ function escapeAmbiguousMfmMarks(text: string) {
+ return text.includes("*") ? `${text}` : text;
+ }
+
/**
* Get only the text, ignoring all formatting inside
* @param node
@@ -62,7 +69,7 @@ export function fromHtml(html: string, hashtagNames?: string[]): string {
background = "",
): (string | string[])[] {
if (treeAdapter.isTextNode(node)) {
- return [node.value];
+ return [escapeAmbiguousMfmMarks(node.value)];
}
// Skip comment or document type node