mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-24 23:26:44 -06:00
fix: ハイフンを含むリモート絵文字が描画されない (#13715)
This commit is contained in:
parent
20eb4bc296
commit
fe1172fbb6
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ import { query } from '@/misc/prelude/url.js';
|
||||||
import type { Serialized } from '@/types.js';
|
import type { Serialized } from '@/types.js';
|
||||||
import { ModerationLogService } from '@/core/ModerationLogService.js';
|
import { ModerationLogService } from '@/core/ModerationLogService.js';
|
||||||
|
|
||||||
const parseEmojiStrRegexp = /^(\w+)(?:@([\w.-]+))?$/;
|
const parseEmojiStrRegexp = /^([-\w]+)(?:@([\w.-]+))?$/;
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class CustomEmojiService implements OnApplicationShutdown {
|
export class CustomEmojiService implements OnApplicationShutdown {
|
||||||
|
|
Loading…
Reference in a new issue