diff --git a/public/script.js b/public/script.js
index f29badb17..df75244e1 100644
--- a/public/script.js
+++ b/public/script.js
@@ -201,7 +201,7 @@ let safetychat = [
is_user: false,
is_name: true,
create_date: 0,
- mes: "\n*You deleted a character/chat and arrived back here for safety reasons! Pick another character!*\n\n",
+ mes: "\nYou deleted a character/chat and arrived back here for safety reasons! Pick another character!\n\n",
},
];
let chat_create_date = 0;
@@ -917,7 +917,7 @@ function messageFormating(mes, ch_name, isSystem, forceAvatar) {
if (this_chid != undefined && !isSystem)
mes = mes.replaceAll("<", "<").replaceAll(">", ">"); //for welcome message
- if (this_chid === undefined && !selected_group) {
+ if ((this_chid === undefined || this_chid == "invalid-safety-id") && !selected_group) {
mes = mes
.replace(/\*\*(.+?)\*\*/g, "$1")
.replace(/\n/g, "
");
diff --git a/public/scripts/tags.js b/public/scripts/tags.js
index 05301a38c..6f40296ca 100644
--- a/public/scripts/tags.js
+++ b/public/scripts/tags.js
@@ -143,6 +143,7 @@ function selectTag(event, ui, listSelector) {
appendTagToList(getInlineListSelector(), tag, { removable: false });
addTagToMap(tag.id);
saveSettingsDebounced();
+ printTags();
// need to return false to keep the input clear
return false;
diff --git a/public/style.css b/public/style.css
index 6fae63939..1470007b8 100644
--- a/public/style.css
+++ b/public/style.css
@@ -1422,7 +1422,7 @@ input[type=search]:focus::-webkit-search-cancel-button {
background-color: var(--black50a);
border: 1px solid var(--white30a);
border-radius: 10px;
- padding: 10px;
+ padding: 8px;
width: min-content;
cursor: pointer;
margin: 5px 0;
@@ -3494,12 +3494,6 @@ toolcool-color-picker {
flex: 1;
}
-.openai_logit_bias_preset_form .menu_button,
-.openai_preset_buttons .menu_button,
-.world_info_select_block .menu_button {
- padding: 8px;
-}
-
.openai_logit_bias_list:empty::before {
display: flex;
align-items: center;