Skip custom emojis which don't match emoji regexp
Otherwise, emojis containing forbidden symbols (for example, `-`) appear in "emoji selector" on admin/new page, but are not replaced with emoji image on submit. Also add a note to documentation mentioning allowed characters.
This commit is contained in:
parent
2cc4eda143
commit
d9b9f596d3
2 changed files with 3 additions and 0 deletions
|
@ -113,6 +113,7 @@ You can copy/paste them from [getemoji.com](https://getemoji.com/).
|
|||
#### Custom emoji
|
||||
|
||||
You can add custom emoji in the `data/custom_emoji` directory and they will be picked automatically.
|
||||
Do not use exotic characters in filename - only letters, numbers, and underscore symbol `_` are allowed.
|
||||
|
||||
#### Custom CSS
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue