Changed to make the href using the escaped path because this will be useful for interacting with other components.