From 9cbe40c99ece3909e0192cd9f62dbf2ca4449802 Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Thu, 1 Aug 2013 23:46:23 +0900 Subject: New patch 160_ignore-shy.patch to ignore ­ (closes: #441934) --- debian/patches/160_ignore-shy.patch | 17 +++++++++++++++++ debian/patches/series | 1 + 2 files changed, 18 insertions(+) create mode 100644 debian/patches/160_ignore-shy.patch (limited to 'debian/patches') 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 + +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 -- cgit v1.2.3