.
original commit: 4b7cac67f8e17f37b3098415fc86e130d4b40264
This commit is contained in:
parent
6e29ebae83
commit
53f8725e49
|
@ -174,11 +174,12 @@
|
|||
(match-lambda
|
||||
[() (list)]
|
||||
[(#\% char1 char2 . rest)
|
||||
(cons
|
||||
;; This used to consult the table again, but I think that's
|
||||
;; wrong. For exmaple %2b should produce +, not a space.
|
||||
(string->number (string char1 char2) 16)
|
||||
(internal-decode rest))]
|
||||
;; This used to consult the table again, but I think that's
|
||||
;; wrong. For exmaple %2b should produce +, not a space.
|
||||
(let ([num (string->number (string char1 char2) 16)])
|
||||
(if num
|
||||
(cons num (internal-decode rest))
|
||||
(internal-decode rest)))]
|
||||
[(char . rest)
|
||||
(cons
|
||||
(vector-ref table
|
||||
|
|
Loading…
Reference in New Issue
Block a user