Fix for Go release.2010-02-12
This commit is contained in:
parent
8c492695c1
commit
28e474f91f
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ func EntityToUtf8(entity string) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
var arr [4]byte
|
var arr [4]byte
|
||||||
if size := utf8.EncodeRune(num, arr[0:]); size == 0 {
|
if size := utf8.EncodeRune(arr[0:], num); size == 0 {
|
||||||
return "&#" + entity + ";"
|
return "&#" + entity + ";"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue