Skip to content

armgit / bento

Public Imported from GitHub
0

Bento, the office suite that fits in a file

docs: escape-rule typo — the sequence is <

nyblnet416b90083f4f
diff --git a/docs/architecture.md b/docs/architecture.md
index c9759334..25f7d6cd 100644
--- a/docs/architecture.md
+++ b/docs/architecture.md
@@ -62,7 +62,7 @@ Whole shell: 1.24 MB raw, ≈392 KB gzipped, before any document content.
Two hard rules keep the file well-formed:
-1. **The data block JSON escapes every `<` as `<`**, so the string
+1. **The data block JSON escapes every `<` as `\u003c`**, so the string
`</script>` can physically never appear inside it and terminate the block.
2. **The runtime source never contains a literal script-close tag** — the one
place that needs it (`save.ts`) builds it by string concatenation, because