[genius: 1/2] Change syntax for xml entities
- From: Jiri (George) Lebl <jirka src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [genius: 1/2] Change syntax for xml entities
- Date: Sun, 15 May 2022 18:46:50 +0000 (UTC)
commit 73f8deb898dd67757a796e0a2422b2498a8ee02b
Author: Anders Jonsson <anders jonsson norsjovallen se>
Date: Sat Oct 30 11:37:38 2021 +0200
Change syntax for xml entities
A change for libxml2 tightened what syntax is allowed in entities:
https://gitlab.gnome.org/GNOME/libxml2/-/commit/01411e7c5ea0fff181271e092f46a2138c3720ec
This makes the po/update-po.sh script error out at the itstool step.
This commit escapes the ampersand character as well as in the libxml2
example above, and makes the script work again for me.
help/C/genius.xml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/help/C/genius.xml b/help/C/genius.xml
index eac4ff4c..17bcc3da 100644
--- a/help/C/genius.xml
+++ b/help/C/genius.xml
@@ -10,12 +10,12 @@
<!ENTITY manrevision "0.2">
- <!ENTITY lt "<">
- <!ENTITY gt ">">
- <!ENTITY le "≤">
- <!ENTITY ge "≥">
- <!ENTITY lsquo "‘">
- <!ENTITY rsquo "’">
+ <!ENTITY lt "&#60;">
+ <!ENTITY gt "&#62;">
+ <!ENTITY le "&#8804;">
+ <!ENTITY ge "&#8805;">
+ <!ENTITY lsquo "&#8216;">
+ <!ENTITY rsquo "&#8217;">
<!--<!ENTITY gel-function-list SYSTEM "gel-function-list.xml">-->
]>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]