aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2013-08-01 14:47:57 +0000
committerTatsuya Kinoshita <tats@debian.org>2013-08-01 14:47:57 +0000
commit0420501709c9bc01df281f6e2bac83a4d8cf1f12 (patch)
tree5119af0c799e0a430796ebde936d4e8a6ee12012
parentMerge from upstream on 2012-05-22 (diff)
downloadw3m-0420501709c9bc01df281f6e2bac83a4d8cf1f12.tar.gz
w3m-0420501709c9bc01df281f6e2bac83a4d8cf1f12.zip
Ignore &shy; to prevent drawing hyphens everywhere
Diffstat (limited to '')
-rw-r--r--entity.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/entity.c b/entity.c
index fdd8f64..45dc95e 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];