Convert folder icon surrogate pair to valid utf8

This commit is contained in:
Hanusz Leszek
2022-10-02 21:08:23 +02:00
committed by AUTOMATIC1111
parent 2cd6a00f37
commit e615d4f9d1
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ random_symbol = '\U0001f3b2\ufe0f' # 🎲️
reuse_symbol = '\u267b\ufe0f' # ♻️
art_symbol = '\U0001f3a8' # 🎨
paste_symbol = '\u2199\ufe0f' # ↙
folder_symbol = '\uD83D\uDCC2'
folder_symbol = '\U0001f4c2' # 📂
def plaintext_to_html(text):
text = "<p>" + "<br>\n".join([f"{html.escape(x)}" for x in text.split('\n')]) + "</p>"