aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/f.bqn2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/f.bqn b/src/f.bqn
index b60643b8..ebfb5c5e 100644
--- a/src/f.bqn
+++ b/src/f.bqn
@@ -60,7 +60,7 @@
FmtSimple ← (≠(0⊸<+≤)+´)∘(⥊<@˙)◶{ # Depth 1
# All characters
- r ← =𝕩 ⋄ 𝕩 ↩ 0↓𝕩⌾⊢""
+ r ← =𝕩 ⋄ 𝕩 ↩ ><¨0↓𝕩 # Ensure rank>0 and ' ' for fill
k ← ∞⍟(0⊸=) -≠ c ← ¯1↓≢𝕩
q ← "'"""⊑˜0<r
# Escape quotes in strings (rank 1) and substitute control chars