title: Display line breaks as `\n` in pdf to text conversion using pdf.js
body: <p>I used the code from this tutorial <a href="http://ourcodeworld.com/articles/read/405/how-to-convert-pdf-to-text-extract-text-from-pdf-with-javascript" rel="nofollow noreferrer">http://ourcodeworld.com/articles/read/405/how-to-convert-pdf-to-text-extract-text-from-pdf-with-javascript</a> to set up the pdf to text conversion.</p>
  
  <p>Looked all over on this site <a href="https://mozilla.github.io/pdf.js/" rel="nofollow noreferrer">https://mozilla.github.io/pdf.js/</a> for some hints as to how to format the conversion, but couldn't find anything. I am just wondering if anyone has any idea of how to display line breaks as <code>\n</code> when parsing text using pdf.js.  </p>
  
  <p>Thanks in advance. </p>