Skip to content

Commit b2a9ea9

Browse files
author
prima
committed
fix: Resolved a couple of issues with the world tree
1 parent 5f6c480 commit b2a9ea9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

klite.embd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2541,6 +2541,10 @@ Current version indicated by LITEVER below.
25412541
convertToTreeKey(key) {
25422542
let cleanedKey = replace_noninstruct_placeholders(remove_all_instruct_tags(key)).replaceAll(/[^\w\d .,']/g, " ").replaceAll(/\s+/g, " ")
25432543
let summaryOfKey = cleanedKey.length > 100 ? `${cleanedKey.substr(0, 50).trim()}...${cleanedKey.substr(-50).trim()}` : cleanedKey
2544+
if (summaryOfKey.trim() === "")
2545+
{
2546+
return "Content"
2547+
}
25442548
return summaryOfKey
25452549
}
25462550

@@ -41849,6 +41853,10 @@ flowchart TD\n${treeToViewOutput.outputText.trim()}`
4184941853
waitingForCompletion = true
4185041854
}
4185141855
}, 1000)
41856+
41857+
mermaid.initialize({
41858+
maxTextSize: 100000
41859+
});
4185241860
</script>
4185341861
<style>
4185441862
#memorycontainerfg {

0 commit comments

Comments
 (0)