support url-encoded anchor links with --with-urlencoded-anchor option
adjust variable types to fit original code
Merge pull request #90 from typester/urlencoded-anchor

Urlencoded anchor support