richtextwidget: fix sanitizer initialization