From d638303166a4f68ab676aeb66e72f5cbb2c4e6d0 Mon Sep 17 00:00:00 2001 From: Laurenz Albe Date: Sat, 10 Oct 2026 00:19:19 +0200 Subject: [PATCH v1] Remove some zero-width spaces in the docs To avoid warnings and lines that extend beyond the right page margin in the PDF documentation, we have zero-width spaces in the source at strategic places. They are not visible to the naked eye, but allow FOP to break the line. However, some of these zero-width spaces were in the middle of text that people might copy and paste from the HTML documentation, which leads to mysterious syntax errors. Scanning the documentation for &zwsp; identified three places that this patch improves: - an ISO 8601 interval literal didn't actually need a line break in both the US letter and A4 format, so simply remove the zero-width space - two examples for uuid_extract_version() had a zero-width space in the middle of an UUID literal, instead of which we can simply add regular spaces inside the parentheses Reported-By: Y. Saburov Author: Laurenz Albe Discussion: https://postgr.es/m/179143326813.1061054.14714458907175925072@wrigleys.postgresql.org --- doc/src/sgml/datatype.sgml | 2 +- doc/src/sgml/func/func-uuid.sgml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml index 89985ab7b16..a3869e2054c 100644 --- a/doc/src/sgml/datatype.sgml +++ b/doc/src/sgml/datatype.sgml @@ -3058,7 +3058,7 @@ SELECT '2 years 15 months 100 weeks 99 hours 123456789 milliseconds'::interval; iso_8601 P1Y2M P3DT4H5M6S - P-1Y-2M3D&zwsp;T-4H-5M-6S + P-1Y-2M3DT-4H-5M-6S diff --git a/doc/src/sgml/func/func-uuid.sgml b/doc/src/sgml/func/func-uuid.sgml index 7b6181b38e7..56de8afd47c 100644 --- a/doc/src/sgml/func/func-uuid.sgml +++ b/doc/src/sgml/func/func-uuid.sgml @@ -161,11 +161,11 @@ return 4. - uuid_extract_version('41db1265-8bc1-4ab3-992f-&zwsp;885799a4af1d'::uuid) + uuid_extract_version( '41db1265-8bc1-4ab3-992f-885799a4af1d'::uuid ) 4 - uuid_extract_version('019535d9-3df7-79fb-b466-&zwsp;fa907fa17f9e'::uuid) + uuid_extract_version( '019535d9-3df7-79fb-b466-fa907fa17f9e'::uuid ) 7 -- 2.56.0