Fix broken "previous" URL in the default toHtml() template.