trim badgeText

for chromium