[SCM] PostGIS branch master updated. 3.6.0rc2-167-g8c0a1555e
git at osgeo.org
git at osgeo.org
Thu Oct 30 09:35:50 PDT 2025
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".
The branch, master has been updated
via 8c0a1555e2d7d4234419b3ddb6af7ecaeedc2f82 (commit)
from d0cfdb0e97f065e1ecbdb70b0de908760b5858ab (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8c0a1555e2d7d4234419b3ddb6af7ecaeedc2f82
Author: Darafei Praliaskouski <me at komzpa.net>
Date: Thu Oct 30 20:35:26 2025 +0400
[doc] Keep the program listings verbatim
Closes #5645
diff --git a/NEWS b/NEWS
index d4e6baf0c..eb5464cde 100644
--- a/NEWS
+++ b/NEWS
@@ -23,7 +23,8 @@ xxxx/xx/xx
- #5959, Prevent histogram target overflow when analysing massive tables (Darafei Praliaskouski)
- #4828, geometry_columns handles NOT VALID SRID checks without errors (Darafei Praliaskouski)
-
+ - #5645, Docs: keep code operators ("=>") intact in translated manuals
+ by enforcing verbatim CSS (Darafei Praliaskouski)
PostGIS 3.6.0
2025/09/01
diff --git a/doc/html/style.css b/doc/html/style.css
index 4be89d30f..627de8884 100644
--- a/doc/html/style.css
+++ b/doc/html/style.css
@@ -149,6 +149,47 @@ pre, .literallayout {
border-radius: 1em;
}
+/*
+ * Fix #5645: localized manuals apply aggressive word breaking to code tokens,
+ * splitting operators like "=>" into "= >". Force verbatim behaviour for
+ * program listings and inline code regardless of :lang overrides.
+ */
+pre,
+code,
+kbd,
+samp,
+.programlisting,
+.screen,
+.literallayout {
+ white-space: pre;
+ word-break: normal;
+ overflow-wrap: normal;
+ hyphens: none;
+ line-break: auto;
+}
+
+pre,
+.programlisting,
+.screen,
+.literallayout {
+ overflow: auto;
+}
+
+:lang(zh) pre,
+:lang(zh-CN) pre,
+:lang(zh-Hans) pre,
+:lang(ja) pre,
+:lang(ko) pre,
+:lang(zh) code,
+:lang(zh-CN) code,
+:lang(zh-Hans) code,
+:lang(ja) code,
+:lang(ko) code {
+ white-space: pre !important;
+ word-break: normal !important;
+ overflow-wrap: normal !important;
+}
+
div.note {
font-size: 0.9em;
border-color: #dd5;
-----------------------------------------------------------------------
Summary of changes:
NEWS | 3 ++-
doc/html/style.css | 41 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+), 1 deletion(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list