Fix html escaping test in orgs

Fixes #847.