HTML code stripped when editing a rating

I use some HTML code to format my ratings. They work ok-ish (used to work better) and are present when exporting the ratings. But, when editing the html code is stripped and need to be added manually or else it will be removed from the rating and disappear from the export file.