Hello,
To replace the supported line breaks:
'\n\r', '\r\n', '\n', '\r', "\n\r", "\r\n", "\n", "\r"
when adding contents in the supported methods, you need to enable the parseLineBreaks option (the default value of this option is false). This option replaces the line breaks with <w:br/> tags in the document.
Regards.