Baby spitting up blood

My baby has spit up blood a couple of times after nursing. I’ve talked to her pediatrician, and they said it’s likely from my cracked, bloody nipples but to keep an eye on it. Anyone else have any experience with this? My nipples ARE torn up, but it still makes me nervous