title: Python-docx Extracted String Missing a Word
body: <p>I can't figure out why the word "Delaware" does not get extracted from the code below. Every other character gets extracted. Can anyone provide code that extracts the word "Delaware" from the Docx file below, without altering the file manually?</p>
  
  <p>Input:</p>
  
  <pre><code>import docx
  import io
  import requests
  
  url = 'https://github.com/python-openxml/python-docx/files/1996979/Delaware_Test.docx'
  file = io.BytesIO(requests.get(url).content)
  
  for text in docx.Document(file).paragraphs:
      print(text.text)
  </code></pre>
  
  <p>Output: </p>
  
  <blockquote>
    <p>APPLICABLE LAW
    This Agreement is to be construed and interpreted according to the laws of the State of , excluding its conflict of laws provisions.  The provisions of the U. N. Convention on Contracts for the International Sale of Goods shall not apply to this Agreement.</p>
  </blockquote>
  
  <p>The weirdest part about it is that if I do anything to the word "Delaware" (ee.gg., bold/unbold, type over the word) in the document and then save it, the word "Delaware" is no longer missing the next time I run the code. However, just saving the file without altering the word does not fix the problem. You might say the solution is to manually alter the word, but in reality I am dealing with thousands of these documents and it doesn't make sense to manually alter every document one by one.</p>
  
  <p>The answer at <a href="https://stackoverflow.com/questions/48350116/missing-document-text-when-using-python-docx">Missing document text when using python-docx</a> appears to provide the reasoning for why this "Delaware" might not be extracted, but it does not provide a solution. Thanks.</p>