Fixes RichTextDatabase so that it doesn’t add <p> to inline rich texts.