highlight_sx/python/bash produced SX string literals with literal newline and tab characters, breaking the wire format parser. Add centralized _escape() helper that properly escapes \n, \t, \r (plus existing \\ and " escaping). Code blocks now render with correct indentation and syntax highlighting in both server and client renders. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9.3 KiB
9.3 KiB