Percent encoding ' in Urls.

Fix for ' breaking anchor clicks.