v2.0.0-beta5: Simplify HTML escaping (for Markdown), fix some bugs