This commit fixes regression introduced in c365de1 when checking for highlight attribute for underline was returning '0' when it was present Fixes #17624.
c365de1
CSI 4 : [2,4,5] m