forked from indymedia/epicyon
Tidying
parent
2b6aa3f44b
commit
caf3c31472
|
@ -65,7 +65,9 @@ def replaceEmojiFromTags(content: str,tag: [],messageType: str) -> str:
|
||||||
if iconName.startswith('1'):
|
if iconName.startswith('1'):
|
||||||
if '.' in iconName:
|
if '.' in iconName:
|
||||||
iconName=iconName.split('.')[0]
|
iconName=iconName.split('.')[0]
|
||||||
content=content.replace(tagItem['name'],chr(int("0x"+iconName,16)))
|
content= \
|
||||||
|
content.replace(tagItem['name'], \
|
||||||
|
chr(int("0x"+iconName,16)))
|
||||||
htmlClass='emoji'
|
htmlClass='emoji'
|
||||||
if messageType=='post header':
|
if messageType=='post header':
|
||||||
htmlClass='emojiheader'
|
htmlClass='emojiheader'
|
||||||
|
|
Loading…
Reference in New Issue