aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/html/entity.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/html/entity.go')
-rw-r--r--libgo/go/html/entity.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/html/entity.go b/libgo/go/html/entity.go
index 21263e2..bd83075 100644
--- a/libgo/go/html/entity.go
+++ b/libgo/go/html/entity.go
@@ -13,7 +13,7 @@ const longestEntityWithoutSemicolon = 6
//
// Note that the HTML5 list is larger than the HTML4 list at
// http://www.w3.org/TR/html4/sgml/entities.html
-var entity = map[string]int{
+var entity = map[string]rune{
"AElig;": '\U000000C6',
"AMP;": '\U00000026',
"Aacute;": '\U000000C1',
@@ -2155,7 +2155,7 @@ var entity = map[string]int{
}
// HTML entities that are two unicode codepoints.
-var entity2 = map[string][2]int{
+var entity2 = map[string][2]rune{
// TODO(nigeltao): Handle replacements that are wider than their names.
// "nLt;": {'\u226A', '\u20D2'},
// "nGt;": {'\u226B', '\u20D2'},