Loading editor/widgets/textbox/textbox.cpp +9 −9 Changes for editor/widgets/textbox/textbox.cpp: 9 added lines, 9 removed lines. Original line number Diff line number Diff line Loading @@ -901,16 +901,16 @@ extern "C" { } else { // Custom symbol via ::before — literal UTF-8 chars avoid CSS-escape issues static const std::map<std::string,std::string> symbolMap = { {"checkmark", u8"✓ "}, {"check_green", u8"✓ "}, {"arrow", u8"→ "}, {"arrow_small", u8"▶ "}, {"star", u8"★ "}, {"dash", u8"– "}, {"diamond", u8"◆ "}, {"cross", u8"✕ "}, {"checkmark", "✓ "}, {"check_green", "✓ "}, {"arrow", "→ "}, {"arrow_small", "▶ "}, {"star", "★ "}, {"dash", "– "}, {"diamond", "◆ "}, {"cross", "✕ "}, }; std::string sym = u8"• "; // fallback std::string sym = "• "; // fallback auto it = symbolMap.find(listBullet); if (it != symbolMap.end()) sym = it->second; Loading Loading
editor/widgets/textbox/textbox.cpp +9 −9 Changes for editor/widgets/textbox/textbox.cpp: 9 added lines, 9 removed lines. Original line number Diff line number Diff line Loading @@ -901,16 +901,16 @@ extern "C" { } else { // Custom symbol via ::before — literal UTF-8 chars avoid CSS-escape issues static const std::map<std::string,std::string> symbolMap = { {"checkmark", u8"✓ "}, {"check_green", u8"✓ "}, {"arrow", u8"→ "}, {"arrow_small", u8"▶ "}, {"star", u8"★ "}, {"dash", u8"– "}, {"diamond", u8"◆ "}, {"cross", u8"✕ "}, {"checkmark", "✓ "}, {"check_green", "✓ "}, {"arrow", "→ "}, {"arrow_small", "▶ "}, {"star", "★ "}, {"dash", "– "}, {"diamond", "◆ "}, {"cross", "✕ "}, }; std::string sym = u8"• "; // fallback std::string sym = "• "; // fallback auto it = symbolMap.find(listBullet); if (it != symbolMap.end()) sym = it->second; Loading