Keep things in perspective though. That article mentions 3,000 people per year die from food poisoning, and leafy vegetables are the cause of 1/4 of that, or 750 deaths/year. However, heart disease alone causes 610,000 deaths per year ( https://www.cdc.gov/heartdisease/facts.htm ). "Individuals who ate more than 5 servings of fruits and vegetables per had roughly a 20 percent lower risk of coronary heart disease" ( h…
Or just cook your leafy vegetables so both risks are reduced.
Some nutrients in some vegetables are diminished by cooking (https://onlinelibrary.wiley.com/doi/full/10.1111/j.1750-3841... for example). Some are also enhanced. For example: lycopene from tomatoes. Overall, it seemed to me that cooking often harms nutrition more than it helps.