mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Test: new changes in pkg request, serializer, task, xml, router
This commit is contained in:
@@ -1040,7 +1040,7 @@ Input:
|
||||
d.buf.WriteByte(';')
|
||||
n, err := strconv.ParseUint(s, base, 64)
|
||||
if err == nil && n <= unicode.MaxRune {
|
||||
text = string(n)
|
||||
text = string(rune(n))
|
||||
haveText = true
|
||||
}
|
||||
}
|
||||
@@ -1063,7 +1063,7 @@ Input:
|
||||
if isName(name) {
|
||||
s := string(name)
|
||||
if r, ok := entity[s]; ok {
|
||||
text = string(r)
|
||||
text = string(rune(r))
|
||||
haveText = true
|
||||
} else if d.Entity != nil {
|
||||
text, haveText = d.Entity[s]
|
||||
|
||||
Reference in New Issue
Block a user