KS-4645: [Wiki] Content of wiki is cleared in Rich text mode in some cas...

...e