Escape tags to fix issue #182