diff --git a/webapp_utils.py b/webapp_utils.py index 5b7bf67e9..ae8b810bd 100644 --- a/webapp_utils.py +++ b/webapp_utils.py @@ -591,24 +591,24 @@ def addEmojiToDisplayName(baseDir: str, httpPrefix: str, displayName = displayName.replace('

', '').replace('

', '') emojiTags = {} - print('TAG: displayName before tags: ' + displayName) +# print('TAG: displayName before tags: ' + displayName) displayName = \ addHtmlTags(baseDir, httpPrefix, nickname, domain, displayName, [], emojiTags) displayName = displayName.replace('

', '').replace('

', '') - print('TAG: displayName after tags: ' + displayName) +# print('TAG: displayName after tags: ' + displayName) # convert the emoji dictionary to a list emojiTagsList = [] for tagName, tag in emojiTags.items(): emojiTagsList.append(tag) - print('TAG: emoji tags list: ' + str(emojiTagsList)) +# print('TAG: emoji tags list: ' + str(emojiTagsList)) if not inProfileName: displayName = \ replaceEmojiFromTags(displayName, emojiTagsList, 'post header') else: displayName = \ replaceEmojiFromTags(displayName, emojiTagsList, 'profile') - print('TAG: displayName after tags 2: ' + displayName) +# print('TAG: displayName after tags 2: ' + displayName) # remove any stray emoji while ':' in displayName: @@ -619,8 +619,8 @@ def addEmojiToDisplayName(baseDir: str, httpPrefix: str, displayName = displayName.replace(':' + emojiStr + ':', '').strip() if prevDisplayName == displayName: break - print('TAG: displayName after tags 3: ' + displayName) - print('TAG: displayName after tag replacements: ' + displayName) +# print('TAG: displayName after tags 3: ' + displayName) +# print('TAG: displayName after tag replacements: ' + displayName) return displayName