mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 22:38:51 +00:00
Update standard tag colors to match TB and improve tags id generation.
This commit is contained in:
@@ -1083,7 +1083,7 @@ function serializeMailLabels() {
|
||||
|
||||
/* if name is null, that's because we've just added a new tag */
|
||||
if (!name) {
|
||||
name = label.replace(/ /g,"_");
|
||||
name = label.replace(/[ \(\)\/\{%\*<>\\\"]/g, "_");
|
||||
}
|
||||
|
||||
values.push("\"" + name + "\": [\"" + label + "\", \"" + color + "\"]");
|
||||
|
||||
Reference in New Issue
Block a user