Export configuration for multiple artists

Yes, because in

there is no comma.
it should be
$loop(%artist%,1) %artist%, $loopend()

I am not sure what the

is doing in that code as it concludes a
<span>
which I do not see.