mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Fix htmlToMfm (#3600)
This commit is contained in:
parent
62859788e7
commit
4b729421fe
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ export default function(html: string): string {
|
|||
if ((rel && rel.value.match('tag') !== null) || !href || href.value == txt) {
|
||||
text += txt;
|
||||
// メンション
|
||||
} else if (txt.startsWith('@') && !rel || !rel.value.match(/^me /)) {
|
||||
} else if (txt.startsWith('@') && !(rel && rel.value.match(/^me /))) {
|
||||
const part = txt.split('@');
|
||||
|
||||
if (part.length == 2) {
|
||||
|
|
Loading…
Add table
Reference in a new issue