diff --git a/shared/sx/async_eval.py b/shared/sx/async_eval.py index b89eba9..7e8cd63 100644 --- a/shared/sx/async_eval.py +++ b/shared/sx/async_eval.py @@ -943,6 +943,10 @@ async def async_eval_slot_to_sx( return result.source if result is None or result is NIL: return "" + # Page helpers return SX source strings from render_to_sx() — + # pass through directly instead of quoting via serialize(). + if isinstance(result, str): + return result return serialize(result)