Fixed links to vars with non-alphanumeric characters

Fixes #40.