[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-922-g9d9c72904
git at osgeo.org
git at osgeo.org
Tue May 23 00:44:50 PDT 2023
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 9d9c7290406ecfe5e2368813ca945185679fe983 (commit)
from 90cfb14d26e2f6b2dd7d7fd232a1c150020c5ce0 (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 9d9c7290406ecfe5e2368813ca945185679fe983
Author: Sandro Santilli <strk at kbt.io>
Date: Tue May 23 09:44:30 2023 +0200
Cleanup xml entities fixer script
diff --git a/utils/fix_xml_entities.sh b/utils/fix_xml_entities.sh
index e40fb659e..e3ad765ff 100755
--- a/utils/fix_xml_entities.sh
+++ b/utils/fix_xml_entities.sh
@@ -3,9 +3,6 @@
cd $(dirname $0)/..
perl -CSDL -pi \
- -e 's/\&([_a-zA-Z]*)[\s\h][\s\h]*;/&\1;/g' \
- $(find doc/po/ -name *.po)
-
-perl -CSDL -pi \
- -e 's/\&([_a-zA-Z]*)[\s\h][\s\h]*;/&\1;/g' \
+ -e 's/\&([_a-zA-Z]*)[\s\h][\s\h]*;/&\1;/g;' \
+ -e 's/&#x([0-9A-F]*)[\s\h][\s\h]*;/&#x\1;/g' \
$(find doc/po/ -name *.po)
-----------------------------------------------------------------------
Summary of changes:
utils/fix_xml_entities.sh | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list