Fix for Go release.2010-02-12
This commit is contained in:
parent
8c492695c1
commit
28e474f91f
|
@ -49,7 +49,7 @@ func EntityToUtf8(entity string) string {
|
|||
}
|
||||
|
||||
var arr [4]byte
|
||||
if size := utf8.EncodeRune(num, arr[0:]); size == 0 {
|
||||
if size := utf8.EncodeRune(arr[0:], num); size == 0 {
|
||||
return "&#" + entity + ";"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue