pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Doc: remove some annoying zero-width spaces. 3+ messages / 1 participants [nested] [flat]
* pgsql: Doc: remove some annoying zero-width spaces. @ 2026-10-10 01:15 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2026-10-10 01:15 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Doc: remove some annoying zero-width spaces. 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 lines in sane places. 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 four places that this patch improves: - an ISO 8601 interval literal didn't actually need a line break in either the US letter or A4 format, so simply remove that zero-width space. - three v18-era examples for uuid_extract_timestamp() and uuid_extract_version() had zero-width spaces in the middle of UUID literals. Instead, add regular spaces around the "::" cast symbols, allowing FOP to break the lines there. This solution isn't invisible in the HTML output, but it doesn't look bad. Reported-by: Y. Saburov <y.saburov@gmail.com> Author: Laurenz Albe <laurenz.albe@cybertec.at> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/179143326813.1061054.14714458907175925072@wrigleys.postgresql.org Backpatch-through: 18 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/91f75212bbff4151d3dc391927721a2431e56973 Modified Files -------------- doc/src/sgml/datatype.sgml | 2 +- doc/src/sgml/func/func-uuid.sgml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Doc: remove some annoying zero-width spaces. @ 2026-10-10 01:15 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2026-10-10 01:15 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Doc: remove some annoying zero-width spaces. 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 lines in sane places. 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 four places that this patch improves: - an ISO 8601 interval literal didn't actually need a line break in either the US letter or A4 format, so simply remove that zero-width space. - three v18-era examples for uuid_extract_timestamp() and uuid_extract_version() had zero-width spaces in the middle of UUID literals. Instead, add regular spaces around the "::" cast symbols, allowing FOP to break the lines there. This solution isn't invisible in the HTML output, but it doesn't look bad. Reported-by: Y. Saburov <y.saburov@gmail.com> Author: Laurenz Albe <laurenz.albe@cybertec.at> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/179143326813.1061054.14714458907175925072@wrigleys.postgresql.org Backpatch-through: 18 Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/ef43664e9271538c3f8e9000fd2360de13adec51 Modified Files -------------- doc/src/sgml/datatype.sgml | 2 +- doc/src/sgml/func/func-uuid.sgml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Doc: remove some annoying zero-width spaces. @ 2026-10-10 01:15 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2026-10-10 01:15 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Doc: remove some annoying zero-width spaces. 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 lines in sane places. 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 four places that this patch improves: - an ISO 8601 interval literal didn't actually need a line break in either the US letter or A4 format, so simply remove that zero-width space. - three v18-era examples for uuid_extract_timestamp() and uuid_extract_version() had zero-width spaces in the middle of UUID literals. Instead, add regular spaces around the "::" cast symbols, allowing FOP to break the lines there. This solution isn't invisible in the HTML output, but it doesn't look bad. Reported-by: Y. Saburov <y.saburov@gmail.com> Author: Laurenz Albe <laurenz.albe@cybertec.at> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/179143326813.1061054.14714458907175925072@wrigleys.postgresql.org Backpatch-through: 18 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/3c6135f839d03ef96a7313bca09ba4c1ec8dd161 Modified Files -------------- doc/src/sgml/datatype.sgml | 2 +- doc/src/sgml/func.sgml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2026-10-10 01:15 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-10-10 01:15 pgsql: Doc: remove some annoying zero-width spaces. Tom Lane <tgl@sss.pgh.pa.us> 2026-10-10 01:15 pgsql: Doc: remove some annoying zero-width spaces. Tom Lane <tgl@sss.pgh.pa.us> 2026-10-10 01:15 pgsql: Doc: remove some annoying zero-width spaces. Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox