Escape XML snippet

Signed-off-by: Alex Coles <alex@alexbcoles.com>