Revert "Don't escape link's href attribute"

This reverts commit 460c28b58a8e286b3eafdfe3ab3103a6401129df.
Revert partly "Fix link escaping in pagination"
Bump to version 0.9.7