Because it's not as dangerous as eating raw pork. Relatively speaking, raw pork is much more dangerous.
The parasites from undercooked pork can be very dangerous.
Are you talking about trichinosis? I can see that being more problematic than salmonella in historical contexts, but again, it’s highly treatable today and rarely fatal if it isn’t treated.
Am I missing some other kind of infection?
Edit: Now I see it, you were referring to the past in the parent comment. I’ve confused this thread for another - sorry about that!