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
[`(,tag ([,ks ,vs] ...) . ,els)
`(,tag
,(for/list ([k (in-value ks)]
[v (in-value vs)])
,(for/list ([k (in-list ks)]
[v (in-list vs)])
(list k (regexp-replace* "&" v "\\&")))
,@(map decode-ampersands-in-attributes els))]
[v v]))

Loading…
Cancel
Save