HTML utilities for simple parsing and escaping