From 9d0bd3b0e7f9717007056cfbfbcd2257e8aef55b Mon Sep 17 00:00:00 2001 From: giles Date: Fri, 13 Mar 2026 05:42:47 +0000 Subject: [PATCH] Fix spreads page: remove (code) tags from table list data MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (code "...") is an HTML tag — works in render context but not inside (list ...) which fully evaluates args. Use plain strings in table rows. Co-Authored-By: Claude Opus 4.6 --- sx/sx/spreads.sx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sx/sx/spreads.sx b/sx/sx/spreads.sx index 0558f3b..33488f1 100644 --- a/sx/sx/spreads.sx +++ b/sx/sx/spreads.sx @@ -188,9 +188,9 @@ (~docs/table :headers (list "Current" "General form" "Direction") :rows (list - (list (code "collect! / collected") (code "emit! / emitted") "upward (child \u2192 scope)") - (list (code "make-spread") (str "emit! into implicit " "\"parent-attrs\" provider") "upward (child \u2192 parent)") - (list "(nothing yet)" (code "context") "downward (scope \u2192 child)"))) + (list "collect! / collected" "emit! / emitted" "upward (child \u2192 scope)") + (list "make-spread" "emit! into implicit parent-attrs provider" "upward (child \u2192 parent)") + (list "(nothing yet)" "context" "downward (scope \u2192 child)"))) (p (code "provide") " creates a named scope with a value (downward) and an accumulator (upward). " (code "context") " reads the value. " (code "emit!") " appends to the accumulator. " (code "emitted") " retrieves accumulated values.")