aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/160_ignore-shy.patch17
-rw-r--r--debian/patches/series1
2 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/160_ignore-shy.patch b/debian/patches/160_ignore-shy.patch
new file mode 100644
index 0000000..2955881
--- /dev/null
+++ b/debian/patches/160_ignore-shy.patch
@@ -0,0 +1,17 @@
+Subject: Ignore ­ to prevent drawing hyphens everywhere
+Origin: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441934
+From: Hilko Bengen <bengen@debian.org>
+
+diff --git a/entity.c b/entity.c
+index fdd8f64..a7c9e99 100644
+--- a/entity.c
++++ b/entity.c
+@@ -44,6 +44,8 @@ conv_entity(unsigned int c)
+ return " ";
+ if (c == 0xa0)
+ return NBSP;
++ if (c == 0xad) /* SOFT HYPHEN */
++ return "";
+ if (c < 0x100) { /* Latin1 (ISO 8859-1) */
+ if (UseAltEntity)
+ return alt_latin1[c - 0xa0];
diff --git a/debian/patches/series b/debian/patches/series
index 9a7199b..8b22a7e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -14,3 +14,4 @@
130_siteconf.patch
140_sort-dump-links.patch
150_contact-list.patch
+160_ignore-shy.patch