mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-22 07:00:58 -05:00
fix: dash ("-" char) in emoji names (#816)
This commit is contained in:
parent
dadf0b6329
commit
89b3c9c098
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ const Emoji = styled.img`
|
|||
}
|
||||
`;
|
||||
|
||||
const RE_EMOJI = /:([a-zA-Z0-9_+]+):/g;
|
||||
const RE_EMOJI = /:([a-zA-Z0-9\-_]+):/g;
|
||||
const RE_ULID = /^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$/;
|
||||
|
||||
export function RenderEmoji({ match }: CustomComponentProps) {
|
||||
|
|
Loading…
Reference in a new issue