Merge pull request #352 from xxxserxxx/disappearingBackslash

This fixes the disappearing backslash issue
This commit is contained in:
vz 2021-08-19 13:50:09 -04:00 committed by GitHub
commit 58057ea219
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -738,6 +738,9 @@ func toUC(text string) []string {
textUnQ := textQ[1 : len(textQ)-1]
st := strings.Replace(textUnQ, "\\u", "U", -1)
if st == "\\\\" {
st = "\\"
}
uc = append(uc, st)
}