mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-11-03 02:48:49 +03:00
parent
76156a5497
commit
929ce7bfd7
1 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ import {
|
||||||
registerShortcut,
|
registerShortcut,
|
||||||
formFieldFocused
|
formFieldFocused
|
||||||
} from 'Common/Globals';
|
} from 'Common/Globals';
|
||||||
|
import { encodeHtml } from 'Common/Html';
|
||||||
import { arrayLength } from 'Common/Utils';
|
import { arrayLength } from 'Common/Utils';
|
||||||
import { download, downloadZip, mailToHelper, showMessageComposer, moveAction } from 'Common/UtilsUser';
|
import { download, downloadZip, mailToHelper, showMessageComposer, moveAction } from 'Common/UtilsUser';
|
||||||
import { isFullscreen, exitFullscreen, toggleFullscreen } from 'Common/Fullscreen';
|
import { isFullscreen, exitFullscreen, toggleFullscreen } from 'Common/Fullscreen';
|
||||||
|
|
@ -174,7 +174,7 @@ export class MailMessageView extends AbstractViewRight {
|
||||||
|
|
||||||
tagsToHTML: () => currentMessage()?.flags().map(value =>
|
tagsToHTML: () => currentMessage()?.flags().map(value =>
|
||||||
isAllowedKeyword(value)
|
isAllowedKeyword(value)
|
||||||
? '<span class="focused msgflag-'+value+'">' + i18n('MESSAGE_TAGS/'+value,0,value) + '</span>'
|
? '<span class="focused msgflag-'+encodeHtml(value)+'">' + encodeHtml(i18n('MESSAGE_TAGS/'+value,0,value)) + '</span>'
|
||||||
: ''
|
: ''
|
||||||
).join(' '),
|
).join(' '),
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue