Tags containing NULL characters don't work properly