preserve format of node body
Are you talking about the spacing in the html itself? So the code looks visibly nested? Such as:

&lt;div&gt;
   &lt;div&gt;
      &lt;div&gt;
         something
      &lt;/div&gt;
   &lt;/div&gt;
&lt;/div&gt;


If that's the case, you might want to try a WYSIWYG and add WYSIWYG CodeMagic