docs: format paragraphs correctly within `@deprecated` tags (#17666)