title: PDFDomTree not detecting white spaces while converting a pdf file to html
body: <p>I am using PDFDomTree with pdfbox-2.0.9 in my java application to convert a pdf file to html file. Following code I have used to convert a pdf.</p>
  
  <pre><code>try {   
      PDDocument document = PDDocument.load(new File("some path"));
      PDFDomTree parser = new PDFDomTree(PDFDomTreeConfig.createDefaultConfig());
      Writer output = new PrintWriter(new File("some output path"), "utf-8");
  
      parser.writeText(document, output);
      output.close();
      document.close();
  } catch (IOException | ParserConfigurationException e) {
      throw e;
  }
  </code></pre>
  
  <p>Now my issue is when I tried to analyse output html, I realised that the converter was not able to detect whitespace between two words due to which I got some words concatenated.</p>
  
  <p>Check the comparison below:
  <a href="https://i.stack.imgur.com/9PT8k.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9PT8k.png" alt="enter image description here"></a></p>
  
  <p>Corresponding pdf file can be accessed from <a href="https://drive.google.com/file/d/1SZNFCvGVbQzCxJiRr8HlW99ravC_Cm71/view?usp=sharing" rel="nofollow noreferrer">here</a> if needed.</p>
  
  <p>Can anyone please help me with this?</p>