diff --git a/files/assets/js/all_js.js b/files/assets/js/all_js.js index 2b6662dba..5f123f478 100644 --- a/files/assets/js/all_js.js +++ b/files/assets/js/all_js.js @@ -75,7 +75,7 @@ document.body.addEventListener('keydown', function(event) { let arr = emojis[i].emojis for (j=0; j < arr.length; j++) { - str += ``; + str += ``; } container.innerHTML = str diff --git a/files/assets/style/main.scss b/files/assets/style/main.scss index 2e1030d8b..a0c79dd79 100644 --- a/files/assets/style/main.scss +++ b/files/assets/style/main.scss @@ -4029,4 +4029,8 @@ img.emoji { .btn { background-color: $gray-700 !important; +} + +.nobackground { + background: None !important; } \ No newline at end of file diff --git a/files/routes/settings.py b/files/routes/settings.py index 2139c992f..571316959 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -687,7 +687,8 @@ def settings_title_change(v): if path.isfile(f'./files/assets/images/emojis/{i.group(1)}.gif'): new_name = new_name.replace(f':{i.group(1)}:', f'') - v.customtitle = bleach.clean(new_name, tags=[]) + #v.customtitle = bleach.clean(new_name, tags=[]) + v.customtitle = new_name g.db.add(v) return redirect("/settings/profile") diff --git a/files/templates/submission.html b/files/templates/submission.html index 5244bfcee..aac0f2364 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -95,39 +95,39 @@