Added method escape to escape HTML