issue #4174 add richText