Make tabs inherit the surrounding text decoration

Issue #2884