close #73

bca40cagl0w

all commits

Message

close #73

Diff

.forge/issues/9a9e58cd-9994-44c9-a8ca-fc3bbdd2f04a/comments/ce87d634-4468-4902-9876-02b09609f36d.md+6 −0
diff --git a/.forge/issues/9a9e58cd-9994-44c9-a8ca-fc3bbdd2f04a/comments/ce87d634-4468-4902-9876-02b09609f36d.md b/.forge/issues/9a9e58cd-9994-44c9-a8ca-fc3bbdd2f04a/comments/ce87d634-4468-4902-9876-02b09609f36d.mdnew file mode 100644index 0000000..f9c1bc4--- /dev/null+++ b/.forge/issues/9a9e58cd-9994-44c9-a8ca-fc3bbdd2f04a/comments/ce87d634-4468-4902-9876-02b09609f36d.md@@ -0,0 +1,6 @@1+---2+id: ce87d634-4468-4902-9876-02b09609f36d3+author: null4+created: 2026-10-27T16:17:53.725382150Z5+---6+Fixed in 724937e6: src/highlight.rs (no deps, 9 languages, escaped, 512KiB cap, block-comment carry), gutter rule + token colors AA in both themes (theme_contrast covers tok-*), duplicate h1 removed, Raw is a button. 5 unit tests incl. hostile <script> escaping.
.forge/issues/9a9e58cd-9994-44c9-a8ca-fc3bbdd2f04a/issue.md+2 −2
diff --git a/.forge/issues/9a9e58cd-9994-44c9-a8ca-fc3bbdd2f04a/issue.md b/.forge/issues/9a9e58cd-9994-44c9-a8ca-fc3bbdd2f04a/issue.mdindex a4a0724..c05783d 100644--- a/.forge/issues/9a9e58cd-9994-44c9-a8ca-fc3bbdd2f04a/issue.md+++ b/.forge/issues/9a9e58cd-9994-44c9-a8ca-fc3bbdd2f04a/issue.md@@ -1,13 +1,13 @@11 ---22 id: 9a9e58cd-9994-44c9-a8ca-fc3bbdd2f04a33 title: 'Code view: add build-time syntax highlighting (no JS) + line-number gutter + file toolbar'4-state: open4+state: closed55 labels:66 - ui77 assignees: []88 milestone: null99 created: 2026-10-27T15:27:35.641700257Z10-updated: null10+updated: 2026-10-27T16:17:53.712101895Z1111 ---1212 The file view has **zero token coloring** — `static/style.css` contains no highlight rules (`grep -c tok- static/style.css` = 0) and file pages emit plain `<span class="line">` text. A code mirror without highlighting is the single biggest "worse than GitHub/GitLab/Forgejo" gap.1313