fix #22572: clean up repeat text styles
Merge pull request #1104 from MarcSabatella/22572-repeat-styles

fix #22572: clean up repeat text styles