From 92688215dea448c40b9cebfcfb34101cf3ff5253 Mon Sep 17 00:00:00 2001 From: giles Date: Wed, 1 Apr 2026 14:29:32 +0000 Subject: [PATCH] handler-source: return string, let page template handle highlighting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit highlight was double-wrapping in (code ...). Match component-source pattern — return pretty-printed string, page handles display. Co-Authored-By: Claude Opus 4.6 (1M context) --- sx/sx/data/helpers.sx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sx/sx/data/helpers.sx b/sx/sx/data/helpers.sx index 8c966d1d..5a17ecb8 100644 --- a/sx/sx/data/helpers.sx +++ b/sx/sx/data/helpers.sx @@ -57,7 +57,7 @@ (append parts (list (make-keyword "returns") returns)) parts)) (parts (append parts (list params body)))) - (highlight (pretty-print parts)))))))) + (pretty-print parts))))))) (define _spec-dirs (list "spec" "web" "shared/sx/ref" "lib"))