resolves #1027 don't include lines that contain a tag directive