diff --git a/packages/backend/test/mfm.ts b/packages/backend/test/mfm.ts index 605daa710..ef02e64b9 100644 --- a/packages/backend/test/mfm.ts +++ b/packages/backend/test/mfm.ts @@ -55,33 +55,33 @@ describe("fromHtml", () => { it("link with different text", () => { assert.deepStrictEqual( - fromHtml('
a c d
'), - "a [c](https://example.com/b) d", + fromHtml('a c d
'), + "a [c](https://calckey.org/b) d", ); }); it("link with different text, but not encoded", () => { assert.deepStrictEqual( - fromHtml('a c d
'), - "a [c](a c d
'), + "a [c](a @user d
', + 'a @user d
', ), - "a @user@example.com d", + "a @user@calckey.org d", ); }); it("hashtag", () => { assert.deepStrictEqual( - fromHtml('a #a d
', [ + fromHtml('a #a d
', [ "#a", ]), "a #a d", diff --git a/packages/client/src/components/MkSample.vue b/packages/client/src/components/MkSample.vue index fcd064fdc..cf0c32130 100644 --- a/packages/client/src/components/MkSample.vue +++ b/packages/client/src/components/MkSample.vue @@ -55,7 +55,7 @@ export default defineComponent({ this.$i ? this.$i.username : "guest" }.\nAlso, here is ${config.url} and [example link](${ config.url - }). for more details, see https://example.com.\nAs you know #misskey is open-source software.`, + }). for more details, see https://calckey.org.\nAs you know #misskey is open-source software.`, }; }, diff --git a/packages/client/src/pages/mfm-cheat-sheet.vue b/packages/client/src/pages/mfm-cheat-sheet.vue index 754f19e93..20f69a6ce 100644 --- a/packages/client/src/pages/mfm-cheat-sheet.vue +++ b/packages/client/src/pages/mfm-cheat-sheet.vue @@ -427,7 +427,7 @@ import { instance } from "@/instance"; let preview_mention = $ref("@example"); let preview_hashtag = $ref("#test"); -let preview_link = $ref(`[${i18n.ts._mfm.dummy}](https://example.com)`); +let preview_link = $ref(`[${i18n.ts._mfm.dummy}](https://calckey.org)`); let preview_emoji = $ref( instance.emojis.length ? `:${instance.emojis[0].name}:` : ":emojiname:" );