Revert "Fix: Prevent UI corruption from Unicode control characters in usernames"
This reverts commit 7aad471b011d99064e1019416df79e63d90ab488.
This commit is contained in:
parent
3b6d1cb4d8
commit
acff4763b9
|
|
@ -21,9 +21,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<I18n :src="i18n.ts.renotedBy" tag="span" :class="$style.renoteText">
|
<I18n :src="i18n.ts.renotedBy" tag="span" :class="$style.renoteText">
|
||||||
<template #user>
|
<template #user>
|
||||||
<EmA :class="$style.renoteUserName" :to="userPage(note.user)">
|
<EmA :class="$style.renoteUserName" :to="userPage(note.user)">
|
||||||
<span style="unicode-bidi: plaintext; display: inline-block;">
|
<EmUserName :user="note.user"/>
|
||||||
<EmUserName :user="note.user"/>
|
|
||||||
</span>
|
|
||||||
</EmA>
|
</EmA>
|
||||||
</template>
|
</template>
|
||||||
</I18n>
|
</I18n>
|
||||||
|
|
|
||||||
|
|
@ -17,9 +17,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<I18n :src="i18n.ts.renotedBy" tag="span">
|
<I18n :src="i18n.ts.renotedBy" tag="span">
|
||||||
<template #user>
|
<template #user>
|
||||||
<EmA :class="$style.renoteName" :to="userPage(note.user)">
|
<EmA :class="$style.renoteName" :to="userPage(note.user)">
|
||||||
<span style="unicode-bidi: plaintext; display: inline-block;">
|
<EmUserName :user="note.user"/>
|
||||||
<EmUserName :user="note.user"/>
|
|
||||||
</span>
|
|
||||||
</EmA>
|
</EmA>
|
||||||
</template>
|
</template>
|
||||||
</I18n>
|
</I18n>
|
||||||
|
|
|
||||||
|
|
@ -21,9 +21,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<I18n :src="i18n.ts.renotedBy" tag="span" :class="$style.renoteText">
|
<I18n :src="i18n.ts.renotedBy" tag="span" :class="$style.renoteText">
|
||||||
<template #user>
|
<template #user>
|
||||||
<MkA v-user-preview="note.userId" :class="$style.renoteUserName" :to="userPage(note.user)">
|
<MkA v-user-preview="note.userId" :class="$style.renoteUserName" :to="userPage(note.user)">
|
||||||
<span style="unicode-bidi: plaintext; display: inline-block;">
|
<MkUserName :user="note.user"/>
|
||||||
<MkUserName :user="note.user"/>
|
|
||||||
</span>
|
|
||||||
</MkA>
|
</MkA>
|
||||||
</template>
|
</template>
|
||||||
</I18n>
|
</I18n>
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<span :class="$style.renoteText">
|
<span :class="$style.renoteText">
|
||||||
<I18n :src="i18n.ts.renotedBy" tag="span">
|
<I18n :src="i18n.ts.renotedBy" tag="span">
|
||||||
<template #user>
|
<template #user>
|
||||||
<MkA v-user-preview="note.userId" :class="$style.renoteName" :to="userPage(note.user)" style="unicode-bidi: plaintext; display: inline-block;">
|
<MkA v-user-preview="note.userId" :class="$style.renoteName" :to="userPage(note.user)">
|
||||||
<MkUserName :user="note.user"/>
|
<MkUserName :user="note.user"/>
|
||||||
</MkA>
|
</MkA>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue