Text-decoration was used a shorthand CSS property, causing the property to always be removed from the html.
Text-decoration is now replaced by using all individual properties (text-decoration-line, text-decoration-color, text-decoration-style, text-decoration-thickness).
Kudos to André Rodrigues, reporting this flaw in in my initial version.