make sure that base_url isn't escaped so that links work correctly

A regression was introduced recently whereby the base_url for links was accidentally escaped. This resulted in a base_url of / becoming %2F and links breaking.

There is likely a use case whereby the base_url is something like /🍺 which may need to be escaped though we need to make sure that the leading / is left intact.