fix iterator (closes #39)

pull/58/head
Matthew Butterick 10 years ago
parent 82217dd1af
commit 11bb19b371

@ -44,8 +44,8 @@ if zero is False:
(match x (match x
[`(,tag ([,ks ,vs] ...) . ,els) [`(,tag ([,ks ,vs] ...) . ,els)
`(,tag `(,tag
,(for/list ([k (in-value ks)] ,(for/list ([k (in-list ks)]
[v (in-value vs)]) [v (in-list vs)])
(list k (regexp-replace* "&" v "\\&"))) (list k (regexp-replace* "&" v "\\&")))
,@(map decode-ampersands-in-attributes els))] ,@(map decode-ampersands-in-attributes els))]
[v v])) [v v]))

Loading…
Cancel
Save