whoops, only replace with gap if all chars are gap.