It looks unappetising, but it's perfectly save to eat, yes. Egg yolks form and mature in the hen's ovary and sometimes when the mature yolk is released it may rupture a small blood vessel, the blood released will end up being encased in the shell, along with the rest of the egg contents. This can be caused by
- Incorrect levels of vitamins A and K in the hen's diet;
- Administration of the drug sulphaquinoxaline;
- Large amounts of lucerne meal in the layers' diet;
- Feeding stale, wet or mouldy feed;
- Continuous lighting in the coop;
- Frights, stress and disturbances.