Clear hrefs stack on finish, trim extracted hrefs
Merge branch '9.2.x' of github.com:riotfamily/riot into 9.2.x