Added note_plain to account normalizer
• Added: - note_plain to account normalizer for a plain text bio/description/note
This commit is contained in:
parent
b3e76b5a58
commit
118e766b01
@ -19,6 +19,7 @@ export function normalizeAccount(account) {
|
||||
account.display_name_html = emojify(escapeTextContentForBrowser(displayName), emojiMap);
|
||||
account.display_name_plain = emojify(escapeTextContentForBrowser(displayName), emojiMap, true);
|
||||
account.note_emojified = emojify(account.note, emojiMap);
|
||||
account.note_plain = unescapeHTML(account.note)
|
||||
|
||||
if (account.fields) {
|
||||
account.fields = account.fields.map(pair => ({
|
||||
|
Loading…
x
Reference in New Issue
Block a user