Docxtemplater read a word file with line break

I have a word file, which I need to read, but using doc.getFullText() newlines are not read.

How can I do?

<script src="https://cdnjs.cloudflare.com/ajax/libs/docxtemplater/3.8.0/docxtemplater.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/2.6.1/jszip.js"></script>
const reader = new FileReader();
reader.onload = async (e) => {
 const text = e.target.result;
 const zip = new JSZip(text);
 const doc = new window.docxtemplater().loadZip(zip).setOptions({ linebreaks:true });
 const t = doc.getFullText();
 console.log(t)
};
reader.readAsBinaryString(files[0]);