Bug fixes

This commit is contained in:
Natsumi
2025-10-19 12:07:53 +11:00
parent 893302f0ad
commit 3480820a0a
5 changed files with 35 additions and 20 deletions

View File

@@ -343,7 +343,7 @@ function buildTreeData(json) {
* @returns {string}
*/
function replaceBioSymbols(text) {
if (!text) {
if (typeof text !== 'string') {
return '';
}
const symbolList = {