aboutsummaryrefslogtreecommitdiffstats
path: root/entity.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2013-08-01 14:48:09 +0000
committerTatsuya Kinoshita <tats@debian.org>2013-08-01 14:48:09 +0000
commit0b74eac7a9a299296ebbed568aac2f17429f5ec0 (patch)
tree3452d6f33746ff76e543a7ddd9a88a046d555c97 /entity.c
parentMerge branch 'bug/contact-list' (diff)
parentIgnore &shy; to prevent drawing hyphens everywhere (diff)
downloadw3m-0b74eac7a9a299296ebbed568aac2f17429f5ec0.tar.gz
w3m-0b74eac7a9a299296ebbed568aac2f17429f5ec0.zip
Merge branch 'bug/shy'
Diffstat (limited to 'entity.c')
-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];