Fix RichTextField tag-stripping feature is polynomial and does not strip unfinished tags
#11225
+32
−2