for #i124928, rich text portion could be converted several times, each time when it is converted, the string will be set once, but in the setString logic, the text is inserted instead of set.

Repeated conversion is unnecessary, add a flag to avoid repeated conversion