From 8aa2b1b9c0ccdb31bd1750e96aeb99d2bb2e40a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Balv=C3=ADn?= Date: Fri, 18 Sep 2026 00:20:42 +0200 Subject: [PATCH] docs(api): name the newline a literal string may carry Assisted-by: GLM 5.3 Flash --- docs/API.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/API.md b/docs/API.md index 64004fe..ce5eda7 100644 --- a/docs/API.md +++ b/docs/API.md @@ -369,8 +369,8 @@ out, err := interpres.NewEncoder().UseLiteralMultiline(80).Marshal(cfg) Single-line strings keep the basic form regardless of the threshold, and a threshold of `0` or less disables the option. A string the literal form cannot carry verbatim (an embedded run of three single quotes, a control character -other than tab, or a carriage return outside a CRLF pair) also keeps the basic -form, so the output always re-parses to the same value. +other than tab or newline, or a carriage return outside a CRLF pair) also keeps +the basic form, so the output always re-parses to the same value. ### Cancellation