title: Ace Editor displaying distorted XML text (Chrome)
body: <p>I am using Ace editor to display XML text on a website. A lot of the time it works quite well, but sometimes it wraps (distorts ??) the text in a weird way if the line can't fit. This seems to only happen in Google Chrome.<a href="https://i.stack.imgur.com/exunB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/exunB.png" alt="enter image description here"></a></p>
  
  <p>As you can see, the text runs into itself. Here is the original XML</p>
  
  <pre><code>&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"&gt;
    &lt;SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"/&gt;
      &lt;SOAP-ENV:Body xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"&gt;
        &lt;SOAP-ENV:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"&gt;
          &lt;faultcode&gt;SOAP-ENV:Server&lt;/faultcode&gt;
          &lt;faultstring xml:lang="en"&gt;Fault&lt;/faultstring&gt;
          &lt;detail&gt;
            &lt;cause&gt;UnrecoverableClientError&lt;/cause&gt;
            &lt;code&gt;SchemaError&lt;/code&gt;
            &lt;desc&gt;validation failure for CreateOpenShipmentRequest Error:cvc-datatype-valid.1.2.1: '' is not a valid value for 'dateTime'.
  cvc-type.3.1.3: The value '' of element 'v13:ShipTimestamp' is not valid.&lt;/desc&gt;
          &lt;/detail&gt;
        &lt;/SOAP-ENV:Fault&gt;
      &lt;/SOAP-ENV:Body&gt;
    &lt;/SOAP-ENV:Envelope&gt;
  </code></pre>
  
  <p>Is there any way to fix this so that the text wraps nicely?</p>