Fix bug #60 on github: Emojis urls problem
parent
4b4d2b8651
commit
1992c55aca
|
@ -27,13 +27,15 @@
|
||||||
|
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
from django.conf import settings
|
||||||
|
|
||||||
from markdown.extensions import Extension
|
from markdown.extensions import Extension
|
||||||
from markdown.preprocessors import Preprocessor
|
from markdown.preprocessors import Preprocessor
|
||||||
|
|
||||||
|
|
||||||
# Grab the emojis (+800) here: https://github.com/arvida/emoji-cheat-sheet.com
|
# Grab the emojis (+800) here: https://github.com/arvida/emoji-cheat-sheet.com
|
||||||
# This **crazy long** list was generated by walking through the emojis.png
|
# This **crazy long** list was generated by walking through the emojis.png
|
||||||
emojis_path = "http://localhost:8000/static/img/emojis/"
|
emojis_path = "{}://{}/static/img/emojis/".format(settings.SITES["api"]["scheme"], settings.SITES["api"]["domain"])
|
||||||
emojis_set = {
|
emojis_set = {
|
||||||
"+1", "-1", "100", "1234", "8ball", "a", "ab", "abc", "abcd", "accept", "aerial_tramway", "airplane",
|
"+1", "-1", "100", "1234", "8ball", "a", "ab", "abc", "abcd", "accept", "aerial_tramway", "airplane",
|
||||||
"alarm_clock", "alien", "ambulance", "anchor", "angel", "anger", "angry", "anguished", "ant", "apple",
|
"alarm_clock", "alien", "ambulance", "anchor", "angel", "anger", "angry", "anguished", "ant", "apple",
|
||||||
|
|
Loading…
Reference in New Issue