summaryrefslogtreecommitdiff
path: root/src/devices
diff options
context:
space:
mode:
authorwl <wl>2010-02-25 19:34:08 +0000
committerwl <wl>2010-02-25 19:34:08 +0000
commit4de04ed53b19723acdc42512fb0b24daf280e1c4 (patch)
tree3f1f31e62d3500a951a094b0d56006f004c7870b /src/devices
parent083ad174dab7ae6c238bb1440b27d52e27be75d8 (diff)
downloadgroff-4de04ed53b19723acdc42512fb0b24daf280e1c4.tar.gz
Fix angle brackets in grohtml.
Reported by Colin Watson <cjwatson@debian.org>. * src/devices/grohtml/post-html.cpp (get_html_entity): Add U+27E8 and U+27E9.
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/grohtml/post-html.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/devices/grohtml/post-html.cpp b/src/devices/grohtml/post-html.cpp
index 759831a0..a6acc691 100644
--- a/src/devices/grohtml/post-html.cpp
+++ b/src/devices/grohtml/post-html.cpp
@@ -1,5 +1,6 @@
// -*- C++ -*-
-/* Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009
+/* Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009,
+ * 2010
* Free Software Foundation, Inc.
*
* Gaius Mulley (gaius@glam.ac.uk) wrote post-html.cpp
@@ -4660,6 +4661,8 @@ static const char *get_html_entity (unsigned int code)
case 0x2663: return "&clubs;";
case 0x2665: return "&hearts;";
case 0x2666: return "&diams;";
+ case 0x27E8: return "&lang;";
+ case 0x27E9: return "&rang;";
default: return to_unicode(code);
}
}