You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@corinthia.apache.org by pm...@apache.org on 2015/03/07 13:36:49 UTC

[4/5] incubator-corinthia git commit: JS Tests: Print containers on separate lines

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/enterAfterFigure02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/enterAfterFigure02-expected.html b/Editor/tests/cursor/enterAfterFigure02-expected.html
index f2e19ab..e30e81e 100644
--- a/Editor/tests/cursor/enterAfterFigure02-expected.html
+++ b/Editor/tests/cursor/enterAfterFigure02-expected.html
@@ -1,7 +1,9 @@
 <html>
   <head></head>
   <body>
-    <figure><img src="../figures/nothing.png"/></figure>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
     <p>a</p>
     <p>
       []

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/enterAfterFigure03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/enterAfterFigure03-expected.html b/Editor/tests/cursor/enterAfterFigure03-expected.html
index acffee0..28082ef 100644
--- a/Editor/tests/cursor/enterAfterFigure03-expected.html
+++ b/Editor/tests/cursor/enterAfterFigure03-expected.html
@@ -1,7 +1,9 @@
 <html>
   <head></head>
   <body>
-    <figure><img src="../figures/nothing.png"/></figure>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
     <p>
       []
       <br/>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/enterBeforeFigure01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/enterBeforeFigure01-expected.html b/Editor/tests/cursor/enterBeforeFigure01-expected.html
index caad8da..6ca614d 100644
--- a/Editor/tests/cursor/enterBeforeFigure01-expected.html
+++ b/Editor/tests/cursor/enterBeforeFigure01-expected.html
@@ -6,6 +6,8 @@
       []
       <br/>
     </p>
-    <figure><img src="../figures/nothing.png"/></figure>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/enterBeforeFigure02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/enterBeforeFigure02-expected.html b/Editor/tests/cursor/enterBeforeFigure02-expected.html
index 303c756..9f4264f 100644
--- a/Editor/tests/cursor/enterBeforeFigure02-expected.html
+++ b/Editor/tests/cursor/enterBeforeFigure02-expected.html
@@ -7,6 +7,8 @@
       []
       <br/>
     </p>
-    <figure><img src="../figures/nothing.png"/></figure>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/enterBeforeFigure03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/enterBeforeFigure03-expected.html b/Editor/tests/cursor/enterBeforeFigure03-expected.html
index b24e06e..58cb2c2 100644
--- a/Editor/tests/cursor/enterBeforeFigure03-expected.html
+++ b/Editor/tests/cursor/enterBeforeFigure03-expected.html
@@ -4,6 +4,8 @@
     <p>one two three</p>
     <p><br/></p>
     <p>[]a</p>
-    <figure><img src="../figures/nothing.png"/></figure>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/enterPressed-emptyContainer03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/enterPressed-emptyContainer03-expected.html b/Editor/tests/cursor/enterPressed-emptyContainer03-expected.html
index 8ce762c..46f41bb 100644
--- a/Editor/tests/cursor/enterPressed-emptyContainer03-expected.html
+++ b/Editor/tests/cursor/enterPressed-emptyContainer03-expected.html
@@ -1,7 +1,9 @@
 <html>
   <head></head>
   <body>
-    <figure><figcaption></figcaption></figure>
+    <figure>
+      <figcaption></figcaption>
+    </figure>
     <p>
       []
       <br/>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/enterPressed-emptyContainer03a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/enterPressed-emptyContainer03a-expected.html b/Editor/tests/cursor/enterPressed-emptyContainer03a-expected.html
index 0b6036b..07efe23 100644
--- a/Editor/tests/cursor/enterPressed-emptyContainer03a-expected.html
+++ b/Editor/tests/cursor/enterPressed-emptyContainer03a-expected.html
@@ -1,7 +1,9 @@
 <html>
   <head></head>
   <body>
-    <figure><figcaption/></figure>
+    <figure>
+      <figcaption/>
+    </figure>
     <p>
       []
       <br/>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/enterPressed-emptyContainer04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/enterPressed-emptyContainer04-expected.html b/Editor/tests/cursor/enterPressed-emptyContainer04-expected.html
index f8ec74c..3b39650 100644
--- a/Editor/tests/cursor/enterPressed-emptyContainer04-expected.html
+++ b/Editor/tests/cursor/enterPressed-emptyContainer04-expected.html
@@ -3,7 +3,11 @@
   <body>
     <table>
       <caption></caption>
-      <tbody><tr><td>Cell</td></tr></tbody>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+        </tr>
+      </tbody>
     </table>
     <p>
       []

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/enterPressed-emptyContainer04a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/enterPressed-emptyContainer04a-expected.html b/Editor/tests/cursor/enterPressed-emptyContainer04a-expected.html
index ebdb3ca..020c65b 100644
--- a/Editor/tests/cursor/enterPressed-emptyContainer04a-expected.html
+++ b/Editor/tests/cursor/enterPressed-emptyContainer04a-expected.html
@@ -3,7 +3,11 @@
   <body>
     <table>
       <caption/>
-      <tbody><tr><td>Cell</td></tr></tbody>
+      <tbody>
+        <tr>
+          <td>Cell</td>
+        </tr>
+      </tbody>
     </table>
     <p>
       []

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/enterPressed-heading10-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/enterPressed-heading10-expected.html b/Editor/tests/cursor/enterPressed-heading10-expected.html
index 7e0351e..59cde39 100644
--- a/Editor/tests/cursor/enterPressed-heading10-expected.html
+++ b/Editor/tests/cursor/enterPressed-heading10-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><h1 id="item1">[]Some text</h1></body>
+  <body>
+    <h1 id="item1">[]Some text</h1>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/enterPressed-list31-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/enterPressed-list31-expected.html b/Editor/tests/cursor/enterPressed-list31-expected.html
index 6a8264a..71813d4 100644
--- a/Editor/tests/cursor/enterPressed-list31-expected.html
+++ b/Editor/tests/cursor/enterPressed-list31-expected.html
@@ -8,7 +8,9 @@
           []
           <br/>
         </p>
-        <ul><li><p>Two</p></li></ul>
+        <ul>
+          <li><p>Two</p></li>
+        </ul>
       </li>
     </ul>
   </body>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/enterPressed-list32-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/enterPressed-list32-expected.html b/Editor/tests/cursor/enterPressed-list32-expected.html
index 8d27a97..866a621 100644
--- a/Editor/tests/cursor/enterPressed-list32-expected.html
+++ b/Editor/tests/cursor/enterPressed-list32-expected.html
@@ -11,7 +11,9 @@
               []
               <br/>
             </p>
-            <ul><li><p>Three</p></li></ul>
+            <ul>
+              <li><p>Three</p></li>
+            </ul>
           </li>
         </ul>
       </li>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/enterPressed-list33-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/enterPressed-list33-expected.html b/Editor/tests/cursor/enterPressed-list33-expected.html
index 6755de5..11d2874 100644
--- a/Editor/tests/cursor/enterPressed-list33-expected.html
+++ b/Editor/tests/cursor/enterPressed-list33-expected.html
@@ -11,7 +11,9 @@
         <ul>
           <li>
             <p>Two</p>
-            <ul><li><p>Three</p></li></ul>
+            <ul>
+              <li><p>Three</p></li>
+            </ul>
           </li>
         </ul>
       </li>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/enterPressed03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/enterPressed03-expected.html b/Editor/tests/cursor/enterPressed03-expected.html
index 8555b1f..ff5b01b 100644
--- a/Editor/tests/cursor/enterPressed03-expected.html
+++ b/Editor/tests/cursor/enterPressed03-expected.html
@@ -1,7 +1,11 @@
 <html>
   <head></head>
   <body>
-    <div>Sample t</div>
-    <div>[]ext</div>
+    <div>
+      Sample t
+    </div>
+    <div>
+      []ext
+    </div>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter-empty01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter-empty01-expected.html b/Editor/tests/cursor/insertCharacter-empty01-expected.html
index 809ffc3..cd37670 100644
--- a/Editor/tests/cursor/insertCharacter-empty01-expected.html
+++ b/Editor/tests/cursor/insertCharacter-empty01-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>X[]</p></body>
+  <body>
+    <p>X[]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter-empty02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter-empty02-expected.html b/Editor/tests/cursor/insertCharacter-empty02-expected.html
index 809ffc3..cd37670 100644
--- a/Editor/tests/cursor/insertCharacter-empty02-expected.html
+++ b/Editor/tests/cursor/insertCharacter-empty02-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>X[]</p></body>
+  <body>
+    <p>X[]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter-empty03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter-empty03-expected.html b/Editor/tests/cursor/insertCharacter-empty03-expected.html
index 809ffc3..cd37670 100644
--- a/Editor/tests/cursor/insertCharacter-empty03-expected.html
+++ b/Editor/tests/cursor/insertCharacter-empty03-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>X[]</p></body>
+  <body>
+    <p>X[]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter-empty04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter-empty04-expected.html b/Editor/tests/cursor/insertCharacter-empty04-expected.html
index 809ffc3..cd37670 100644
--- a/Editor/tests/cursor/insertCharacter-empty04-expected.html
+++ b/Editor/tests/cursor/insertCharacter-empty04-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>X[]</p></body>
+  <body>
+    <p>X[]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter-empty05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter-empty05-expected.html b/Editor/tests/cursor/insertCharacter-empty05-expected.html
index 809ffc3..cd37670 100644
--- a/Editor/tests/cursor/insertCharacter-empty05-expected.html
+++ b/Editor/tests/cursor/insertCharacter-empty05-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>X[]</p></body>
+  <body>
+    <p>X[]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter-empty06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter-empty06-expected.html b/Editor/tests/cursor/insertCharacter-empty06-expected.html
index 809ffc3..cd37670 100644
--- a/Editor/tests/cursor/insertCharacter-empty06-expected.html
+++ b/Editor/tests/cursor/insertCharacter-empty06-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>X[]</p></body>
+  <body>
+    <p>X[]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter-empty07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter-empty07-expected.html b/Editor/tests/cursor/insertCharacter-empty07-expected.html
index 809ffc3..cd37670 100644
--- a/Editor/tests/cursor/insertCharacter-empty07-expected.html
+++ b/Editor/tests/cursor/insertCharacter-empty07-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>X[]</p></body>
+  <body>
+    <p>X[]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter-empty08-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter-empty08-expected.html b/Editor/tests/cursor/insertCharacter-empty08-expected.html
index 809ffc3..cd37670 100644
--- a/Editor/tests/cursor/insertCharacter-empty08-expected.html
+++ b/Editor/tests/cursor/insertCharacter-empty08-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>X[]</p></body>
+  <body>
+    <p>X[]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter-empty09-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter-empty09-expected.html b/Editor/tests/cursor/insertCharacter-empty09-expected.html
index 809ffc3..cd37670 100644
--- a/Editor/tests/cursor/insertCharacter-empty09-expected.html
+++ b/Editor/tests/cursor/insertCharacter-empty09-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>X[]</p></body>
+  <body>
+    <p>X[]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter-empty10-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter-empty10-expected.html b/Editor/tests/cursor/insertCharacter-empty10-expected.html
index 809ffc3..cd37670 100644
--- a/Editor/tests/cursor/insertCharacter-empty10-expected.html
+++ b/Editor/tests/cursor/insertCharacter-empty10-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>X[]</p></body>
+  <body>
+    <p>X[]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter-empty11-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter-empty11-expected.html b/Editor/tests/cursor/insertCharacter-empty11-expected.html
index 809ffc3..cd37670 100644
--- a/Editor/tests/cursor/insertCharacter-empty11-expected.html
+++ b/Editor/tests/cursor/insertCharacter-empty11-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>X[]</p></body>
+  <body>
+    <p>X[]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter-quotes01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter-quotes01-expected.html b/Editor/tests/cursor/insertCharacter-quotes01-expected.html
index 1d54adb..c76e9d6 100644
--- a/Editor/tests/cursor/insertCharacter-quotes01-expected.html
+++ b/Editor/tests/cursor/insertCharacter-quotes01-expected.html
@@ -2,5 +2,7 @@
   <head>
     <meta charset="utf-8"/>
   </head>
-  <body><p>A 15" “screen”</p></body>
+  <body>
+    <p>A 15" “screen”</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter-space01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter-space01-expected.html b/Editor/tests/cursor/insertCharacter-space01-expected.html
index b1d8dad..17b4917 100644
--- a/Editor/tests/cursor/insertCharacter-space01-expected.html
+++ b/Editor/tests/cursor/insertCharacter-space01-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>X&nbsp;[]</p></body>
+  <body>
+    <p>X&nbsp;[]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter-spchar01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter-spchar01-expected.html b/Editor/tests/cursor/insertCharacter-spchar01-expected.html
index 052e8a9..5be3b04 100644
--- a/Editor/tests/cursor/insertCharacter-spchar01-expected.html
+++ b/Editor/tests/cursor/insertCharacter-spchar01-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>{X[]}</p></body>
+  <body>
+    <p>{X[]}</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter-spchar03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter-spchar03-expected.html b/Editor/tests/cursor/insertCharacter-spchar03-expected.html
index a9bb7f3..2877945 100644
--- a/Editor/tests/cursor/insertCharacter-spchar03-expected.html
+++ b/Editor/tests/cursor/insertCharacter-spchar03-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p><b>{X[]}</b></p></body>
+  <body>
+    <p><b>{X[]}</b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter-toparagraph01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter-toparagraph01-expected.html b/Editor/tests/cursor/insertCharacter-toparagraph01-expected.html
index a64235d..92f8165 100644
--- a/Editor/tests/cursor/insertCharacter-toparagraph01-expected.html
+++ b/Editor/tests/cursor/insertCharacter-toparagraph01-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>X[]Sample text</p></body>
+  <body>
+    <p>X[]Sample text</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter-toparagraph02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter-toparagraph02-expected.html b/Editor/tests/cursor/insertCharacter-toparagraph02-expected.html
index fb4aefb..d287729 100644
--- a/Editor/tests/cursor/insertCharacter-toparagraph02-expected.html
+++ b/Editor/tests/cursor/insertCharacter-toparagraph02-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>Sample textX[]</p></body>
+  <body>
+    <p>Sample textX[]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter-toparagraph03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter-toparagraph03-expected.html b/Editor/tests/cursor/insertCharacter-toparagraph03-expected.html
index a64235d..92f8165 100644
--- a/Editor/tests/cursor/insertCharacter-toparagraph03-expected.html
+++ b/Editor/tests/cursor/insertCharacter-toparagraph03-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>X[]Sample text</p></body>
+  <body>
+    <p>X[]Sample text</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter-toparagraph04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter-toparagraph04-expected.html b/Editor/tests/cursor/insertCharacter-toparagraph04-expected.html
index fb4aefb..d287729 100644
--- a/Editor/tests/cursor/insertCharacter-toparagraph04-expected.html
+++ b/Editor/tests/cursor/insertCharacter-toparagraph04-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>Sample textX[]</p></body>
+  <body>
+    <p>Sample textX[]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter-toparagraph05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter-toparagraph05-expected.html b/Editor/tests/cursor/insertCharacter-toparagraph05-expected.html
index a64235d..92f8165 100644
--- a/Editor/tests/cursor/insertCharacter-toparagraph05-expected.html
+++ b/Editor/tests/cursor/insertCharacter-toparagraph05-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>X[]Sample text</p></body>
+  <body>
+    <p>X[]Sample text</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter-toparagraph06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter-toparagraph06-expected.html b/Editor/tests/cursor/insertCharacter-toparagraph06-expected.html
index fb4aefb..d287729 100644
--- a/Editor/tests/cursor/insertCharacter-toparagraph06-expected.html
+++ b/Editor/tests/cursor/insertCharacter-toparagraph06-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>Sample textX[]</p></body>
+  <body>
+    <p>Sample textX[]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter01-expected.html b/Editor/tests/cursor/insertCharacter01-expected.html
index fb4aefb..d287729 100644
--- a/Editor/tests/cursor/insertCharacter01-expected.html
+++ b/Editor/tests/cursor/insertCharacter01-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>Sample textX[]</p></body>
+  <body>
+    <p>Sample textX[]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter02-expected.html b/Editor/tests/cursor/insertCharacter02-expected.html
index be6fe09..19a3a39 100644
--- a/Editor/tests/cursor/insertCharacter02-expected.html
+++ b/Editor/tests/cursor/insertCharacter02-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>Sample tX[]ext</p></body>
+  <body>
+    <p>Sample tX[]ext</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter03-expected.html b/Editor/tests/cursor/insertCharacter03-expected.html
index a64235d..92f8165 100644
--- a/Editor/tests/cursor/insertCharacter03-expected.html
+++ b/Editor/tests/cursor/insertCharacter03-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>X[]Sample text</p></body>
+  <body>
+    <p>X[]Sample text</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter04-expected.html b/Editor/tests/cursor/insertCharacter04-expected.html
index fb4aefb..d287729 100644
--- a/Editor/tests/cursor/insertCharacter04-expected.html
+++ b/Editor/tests/cursor/insertCharacter04-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>Sample textX[]</p></body>
+  <body>
+    <p>Sample textX[]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter05-expected.html b/Editor/tests/cursor/insertCharacter05-expected.html
index be6fe09..19a3a39 100644
--- a/Editor/tests/cursor/insertCharacter05-expected.html
+++ b/Editor/tests/cursor/insertCharacter05-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>Sample tX[]ext</p></body>
+  <body>
+    <p>Sample tX[]ext</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter06-expected.html b/Editor/tests/cursor/insertCharacter06-expected.html
index a64235d..92f8165 100644
--- a/Editor/tests/cursor/insertCharacter06-expected.html
+++ b/Editor/tests/cursor/insertCharacter06-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>X[]Sample text</p></body>
+  <body>
+    <p>X[]Sample text</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter07-expected.html b/Editor/tests/cursor/insertCharacter07-expected.html
index a64235d..92f8165 100644
--- a/Editor/tests/cursor/insertCharacter07-expected.html
+++ b/Editor/tests/cursor/insertCharacter07-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>X[]Sample text</p></body>
+  <body>
+    <p>X[]Sample text</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter08-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter08-expected.html b/Editor/tests/cursor/insertCharacter08-expected.html
index fb4aefb..d287729 100644
--- a/Editor/tests/cursor/insertCharacter08-expected.html
+++ b/Editor/tests/cursor/insertCharacter08-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>Sample textX[]</p></body>
+  <body>
+    <p>Sample textX[]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertCharacter10-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertCharacter10-expected.html b/Editor/tests/cursor/insertCharacter10-expected.html
index 2f18009..475d789 100644
--- a/Editor/tests/cursor/insertCharacter10-expected.html
+++ b/Editor/tests/cursor/insertCharacter10-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>Sample text one two three[]</p></body>
+  <body>
+    <p>Sample text one two three[]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertEndnote04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertEndnote04-expected.html b/Editor/tests/cursor/insertEndnote04-expected.html
index 2e542e9..dddacd5 100644
--- a/Editor/tests/cursor/insertEndnote04-expected.html
+++ b/Editor/tests/cursor/insertEndnote04-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p><span class="endnote">[Endnote content]</span></p></body>
+  <body>
+    <p><span class="endnote">[Endnote content]</span></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertEndnote05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertEndnote05-expected.html b/Editor/tests/cursor/insertEndnote05-expected.html
index 2e542e9..dddacd5 100644
--- a/Editor/tests/cursor/insertEndnote05-expected.html
+++ b/Editor/tests/cursor/insertEndnote05-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p><span class="endnote">[Endnote content]</span></p></body>
+  <body>
+    <p><span class="endnote">[Endnote content]</span></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertEndnote06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertEndnote06-expected.html b/Editor/tests/cursor/insertEndnote06-expected.html
index 2a32f60..47f40a9 100644
--- a/Editor/tests/cursor/insertEndnote06-expected.html
+++ b/Editor/tests/cursor/insertEndnote06-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><span class="endnote">[Endnote content]</span></body>
+  <body>
+    <span class="endnote">[Endnote content]</span>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertFootnote04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertFootnote04-expected.html b/Editor/tests/cursor/insertFootnote04-expected.html
index 48b50fb..331c33c 100644
--- a/Editor/tests/cursor/insertFootnote04-expected.html
+++ b/Editor/tests/cursor/insertFootnote04-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p><span class="footnote">[Footnote content]</span></p></body>
+  <body>
+    <p><span class="footnote">[Footnote content]</span></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertFootnote05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertFootnote05-expected.html b/Editor/tests/cursor/insertFootnote05-expected.html
index 48b50fb..331c33c 100644
--- a/Editor/tests/cursor/insertFootnote05-expected.html
+++ b/Editor/tests/cursor/insertFootnote05-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p><span class="footnote">[Footnote content]</span></p></body>
+  <body>
+    <p><span class="footnote">[Footnote content]</span></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/insertFootnote06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/insertFootnote06-expected.html b/Editor/tests/cursor/insertFootnote06-expected.html
index 86c4dac..a70222a 100644
--- a/Editor/tests/cursor/insertFootnote06-expected.html
+++ b/Editor/tests/cursor/insertFootnote06-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><span class="footnote">[Footnote content]</span></body>
+  <body>
+    <span class="footnote">[Footnote content]</span>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/nbsp01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/nbsp01-expected.html b/Editor/tests/cursor/nbsp01-expected.html
index 0421d72..8098ad9 100644
--- a/Editor/tests/cursor/nbsp01-expected.html
+++ b/Editor/tests/cursor/nbsp01-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>Sample text&nbsp;[]</p></body>
+  <body>
+    <p>Sample text&nbsp;[]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/nbsp02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/nbsp02-expected.html b/Editor/tests/cursor/nbsp02-expected.html
index b629b7d..ecc4490 100644
--- a/Editor/tests/cursor/nbsp02-expected.html
+++ b/Editor/tests/cursor/nbsp02-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>Sample text []</p></body>
+  <body>
+    <p>Sample text []</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/nbsp03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/nbsp03-expected.html b/Editor/tests/cursor/nbsp03-expected.html
index 8fcec03..61c2a8a 100644
--- a/Editor/tests/cursor/nbsp03-expected.html
+++ b/Editor/tests/cursor/nbsp03-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>Sample text a[]</p></body>
+  <body>
+    <p>Sample text a[]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/nbsp04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/nbsp04-expected.html b/Editor/tests/cursor/nbsp04-expected.html
index 0421d72..8098ad9 100644
--- a/Editor/tests/cursor/nbsp04-expected.html
+++ b/Editor/tests/cursor/nbsp04-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>Sample text&nbsp;[]</p></body>
+  <body>
+    <p>Sample text&nbsp;[]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/nbsp05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/nbsp05-expected.html b/Editor/tests/cursor/nbsp05-expected.html
index b629b7d..ecc4490 100644
--- a/Editor/tests/cursor/nbsp05-expected.html
+++ b/Editor/tests/cursor/nbsp05-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>Sample text []</p></body>
+  <body>
+    <p>Sample text []</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/textAfterFigure01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/textAfterFigure01-expected.html b/Editor/tests/cursor/textAfterFigure01-expected.html
index 19deea7..5498785 100644
--- a/Editor/tests/cursor/textAfterFigure01-expected.html
+++ b/Editor/tests/cursor/textAfterFigure01-expected.html
@@ -1,7 +1,9 @@
 <html>
   <head></head>
   <body>
-    <figure><img src="../figures/nothing.png"/></figure>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
     <p>X[]</p>
     <p>one two three</p>
   </body>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/textAfterFigure02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/textAfterFigure02-expected.html b/Editor/tests/cursor/textAfterFigure02-expected.html
index 47a6df3..5163f29 100644
--- a/Editor/tests/cursor/textAfterFigure02-expected.html
+++ b/Editor/tests/cursor/textAfterFigure02-expected.html
@@ -1,7 +1,9 @@
 <html>
   <head></head>
   <body>
-    <figure><img src="../figures/nothing.png"/></figure>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
     <p>aX[]</p>
     <p>one two three</p>
   </body>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/textAfterFigure03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/textAfterFigure03-expected.html b/Editor/tests/cursor/textAfterFigure03-expected.html
index 4da2c29..6035b43 100644
--- a/Editor/tests/cursor/textAfterFigure03-expected.html
+++ b/Editor/tests/cursor/textAfterFigure03-expected.html
@@ -1,7 +1,9 @@
 <html>
   <head></head>
   <body>
-    <figure><img src="../figures/nothing.png"/></figure>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
     <p>X[]a</p>
     <p>one two three</p>
   </body>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/textBeforeFigure01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/textBeforeFigure01-expected.html b/Editor/tests/cursor/textBeforeFigure01-expected.html
index b264b98..99ccaa9 100644
--- a/Editor/tests/cursor/textBeforeFigure01-expected.html
+++ b/Editor/tests/cursor/textBeforeFigure01-expected.html
@@ -3,6 +3,8 @@
   <body>
     <p>one two three</p>
     <p>X[]</p>
-    <figure><img src="../figures/nothing.png"/></figure>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/textBeforeFigure02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/textBeforeFigure02-expected.html b/Editor/tests/cursor/textBeforeFigure02-expected.html
index 7fcff8f..92b6ebe 100644
--- a/Editor/tests/cursor/textBeforeFigure02-expected.html
+++ b/Editor/tests/cursor/textBeforeFigure02-expected.html
@@ -3,6 +3,8 @@
   <body>
     <p>one two three</p>
     <p>aX[]</p>
-    <figure><img src="../figures/nothing.png"/></figure>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/cursor/textBeforeFigure03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/cursor/textBeforeFigure03-expected.html b/Editor/tests/cursor/textBeforeFigure03-expected.html
index 8947896..37ef96c 100644
--- a/Editor/tests/cursor/textBeforeFigure03-expected.html
+++ b/Editor/tests/cursor/textBeforeFigure03-expected.html
@@ -3,6 +3,8 @@
   <body>
     <p>one two three</p>
     <p>X[]a</p>
-    <figure><img src="../figures/nothing.png"/></figure>
+    <figure>
+      <img src="../figures/nothing.png"/>
+    </figure>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/avoidInline01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/avoidInline01-expected.html b/Editor/tests/dom/avoidInline01-expected.html
index 85d14c3..9616757 100644
--- a/Editor/tests/dom/avoidInline01-expected.html
+++ b/Editor/tests/dom/avoidInline01-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>One</p></body>
+  <body>
+    <p>One</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/ensureInlineNodesInParagraph01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/ensureInlineNodesInParagraph01-expected.html b/Editor/tests/dom/ensureInlineNodesInParagraph01-expected.html
index 430934e..7bd9ea5 100644
--- a/Editor/tests/dom/ensureInlineNodesInParagraph01-expected.html
+++ b/Editor/tests/dom/ensureInlineNodesInParagraph01-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>Test</p></body>
+  <body>
+    <p>Test</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/ensureValidHierarchy01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/ensureValidHierarchy01-expected.html b/Editor/tests/dom/ensureValidHierarchy01-expected.html
index 9a38b37..d79a0f8 100644
--- a/Editor/tests/dom/ensureValidHierarchy01-expected.html
+++ b/Editor/tests/dom/ensureValidHierarchy01-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p><b>Sample text</b></p></body>
+  <body>
+    <p><b>Sample text</b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/ensureValidHierarchy02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/ensureValidHierarchy02-expected.html b/Editor/tests/dom/ensureValidHierarchy02-expected.html
index 9a38b37..d79a0f8 100644
--- a/Editor/tests/dom/ensureValidHierarchy02-expected.html
+++ b/Editor/tests/dom/ensureValidHierarchy02-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p><b>Sample text</b></p></body>
+  <body>
+    <p><b>Sample text</b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/ensureValidHierarchy06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/ensureValidHierarchy06-expected.html b/Editor/tests/dom/ensureValidHierarchy06-expected.html
index d26dd5b..300d365 100644
--- a/Editor/tests/dom/ensureValidHierarchy06-expected.html
+++ b/Editor/tests/dom/ensureValidHierarchy06-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p><b><i><u>Sample text</u></i></b></p></body>
+  <body>
+    <p><b><i><u>Sample text</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/ensureValidHierarchy07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/ensureValidHierarchy07-expected.html b/Editor/tests/dom/ensureValidHierarchy07-expected.html
index c9589ff..d1da84b 100644
--- a/Editor/tests/dom/ensureValidHierarchy07-expected.html
+++ b/Editor/tests/dom/ensureValidHierarchy07-expected.html
@@ -1,14 +1,22 @@
 <html>
   <head></head>
   <body>
-    <ul><li><b><i><u>Item 1</u></i></b></li></ul>
+    <ul>
+      <li><b><i><u>Item 1</u></i></b></li>
+    </ul>
     <b>
       <i>
         <u>
-          <ol><li>Item 2</li></ol>
+          <ol>
+            <li>Item 2</li>
+          </ol>
           <p>Sample text</p>
-          <ul><li>Item 3</li></ul>
-          <ol><li>Item 4</li></ol>
+          <ul>
+            <li>Item 3</li>
+          </ul>
+          <ol>
+            <li>Item 4</li>
+          </ol>
         </u>
       </i>
     </b>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/ensureValidHierarchy08-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/ensureValidHierarchy08-expected.html b/Editor/tests/dom/ensureValidHierarchy08-expected.html
index d10f177..555f18d 100644
--- a/Editor/tests/dom/ensureValidHierarchy08-expected.html
+++ b/Editor/tests/dom/ensureValidHierarchy08-expected.html
@@ -2,13 +2,19 @@
   <head></head>
   <body>
     <b><i><u><ul><li>Item 1</li></ul></u></i></b>
-    <ol><li><b><i><u>Item 2</u></i></b></li></ol>
+    <ol>
+      <li><b><i><u>Item 2</u></i></b></li>
+    </ol>
     <b>
       <i>
         <u>
           <p>Sample text</p>
-          <ul><li>Item 3</li></ul>
-          <ol><li>Item 4</li></ol>
+          <ul>
+            <li>Item 3</li>
+          </ul>
+          <ol>
+            <li>Item 4</li>
+          </ol>
         </u>
       </i>
     </b>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/ensureValidHierarchy09-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/ensureValidHierarchy09-expected.html b/Editor/tests/dom/ensureValidHierarchy09-expected.html
index 8d208ca..b463ceb 100644
--- a/Editor/tests/dom/ensureValidHierarchy09-expected.html
+++ b/Editor/tests/dom/ensureValidHierarchy09-expected.html
@@ -4,8 +4,12 @@
     <b>
       <i>
         <u>
-          <ul><li>Item 1</li></ul>
-          <ol><li>Item 2</li></ol>
+          <ul>
+            <li>Item 1</li>
+          </ul>
+          <ol>
+            <li>Item 2</li>
+          </ol>
         </u>
       </i>
     </b>
@@ -13,8 +17,12 @@
     <b>
       <i>
         <u>
-          <ul><li>Item 3</li></ul>
-          <ol><li>Item 4</li></ol>
+          <ul>
+            <li>Item 3</li>
+          </ul>
+          <ol>
+            <li>Item 4</li>
+          </ol>
         </u>
       </i>
     </b>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/ensureValidHierarchy10-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/ensureValidHierarchy10-expected.html b/Editor/tests/dom/ensureValidHierarchy10-expected.html
index 3abc400..a77382d 100644
--- a/Editor/tests/dom/ensureValidHierarchy10-expected.html
+++ b/Editor/tests/dom/ensureValidHierarchy10-expected.html
@@ -4,13 +4,19 @@
     <b>
       <i>
         <u>
-          <ul><li>Item 1</li></ul>
-          <ol><li>Item 2</li></ol>
+          <ul>
+            <li>Item 1</li>
+          </ul>
+          <ol>
+            <li>Item 2</li>
+          </ol>
           <p>Sample text</p>
         </u>
       </i>
     </b>
-    <ul><li><b><i><u>Item 3</u></i></b></li></ul>
+    <ul>
+      <li><b><i><u>Item 3</u></i></b></li>
+    </ul>
     <b><i><u><ol><li>Item 4</li></ol></u></i></b>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/ensureValidHierarchy11-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/ensureValidHierarchy11-expected.html b/Editor/tests/dom/ensureValidHierarchy11-expected.html
index 79abfad..1d96c09 100644
--- a/Editor/tests/dom/ensureValidHierarchy11-expected.html
+++ b/Editor/tests/dom/ensureValidHierarchy11-expected.html
@@ -4,13 +4,21 @@
     <b>
       <i>
         <u>
-          <ul><li>Item 1</li></ul>
-          <ol><li>Item 2</li></ol>
+          <ul>
+            <li>Item 1</li>
+          </ul>
+          <ol>
+            <li>Item 2</li>
+          </ol>
           <p>Sample text</p>
-          <ul><li>Item 3</li></ul>
+          <ul>
+            <li>Item 3</li>
+          </ul>
         </u>
       </i>
     </b>
-    <ol><li><b><i><u>Item 4</u></i></b></li></ol>
+    <ol>
+      <li><b><i><u>Item 4</u></i></b></li>
+    </ol>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/mergeWithNeighbours01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/mergeWithNeighbours01-expected.html b/Editor/tests/dom/mergeWithNeighbours01-expected.html
index 4a2e136..bb8d07e 100644
--- a/Editor/tests/dom/mergeWithNeighbours01-expected.html
+++ b/Editor/tests/dom/mergeWithNeighbours01-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>OneT[woThreeFou]rFive</p></body>
+  <body>
+    <p>OneT[woThreeFou]rFive</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/mergeWithNeighbours02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/mergeWithNeighbours02-expected.html b/Editor/tests/dom/mergeWithNeighbours02-expected.html
index 375e220..e827e60 100644
--- a/Editor/tests/dom/mergeWithNeighbours02-expected.html
+++ b/Editor/tests/dom/mergeWithNeighbours02-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>O[neTwoThreeFourFiv]e</p></body>
+  <body>
+    <p>O[neTwoThreeFourFiv]e</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/mergeWithNeighbours03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/mergeWithNeighbours03-expected.html b/Editor/tests/dom/mergeWithNeighbours03-expected.html
index 36e255d..9430e9d 100644
--- a/Editor/tests/dom/mergeWithNeighbours03-expected.html
+++ b/Editor/tests/dom/mergeWithNeighbours03-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>One[TwoThreeFourFive]</p></body>
+  <body>
+    <p>One[TwoThreeFourFive]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/mergeWithNeighbours04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/mergeWithNeighbours04-expected.html b/Editor/tests/dom/mergeWithNeighbours04-expected.html
index 367f373..40431bb 100644
--- a/Editor/tests/dom/mergeWithNeighbours04-expected.html
+++ b/Editor/tests/dom/mergeWithNeighbours04-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>One[OneOneOneOne]</p></body>
+  <body>
+    <p>One[OneOneOneOne]</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/mergeWithNeighbours05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/mergeWithNeighbours05-expected.html b/Editor/tests/dom/mergeWithNeighbours05-expected.html
index 012fd26..1e895ad 100644
--- a/Editor/tests/dom/mergeWithNeighbours05-expected.html
+++ b/Editor/tests/dom/mergeWithNeighbours05-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p><b><i>OneTwoThreeFour[FiveSixSevenEight]Nine</i></b></p></body>
+  <body>
+    <p><b><i>OneTwoThreeFour[FiveSixSevenEight]Nine</i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/mergeWithNeighbours07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/mergeWithNeighbours07-expected.html b/Editor/tests/dom/mergeWithNeighbours07-expected.html
index 9e1999b..790e84c 100644
--- a/Editor/tests/dom/mergeWithNeighbours07-expected.html
+++ b/Editor/tests/dom/mergeWithNeighbours07-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>OneTwo[ThreeFour]Five</p></body>
+  <body>
+    <p>OneTwo[ThreeFour]Five</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/mergeWithNeighbours11-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/mergeWithNeighbours11-expected.html b/Editor/tests/dom/mergeWithNeighbours11-expected.html
index b6a7057..73d9c83 100644
--- a/Editor/tests/dom/mergeWithNeighbours11-expected.html
+++ b/Editor/tests/dom/mergeWithNeighbours11-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p><b><i>OneTwoThree[FourFiveSix]SevenEightNine</i></b></p></body>
+  <body>
+    <p><b><i>OneTwoThree[FourFiveSix]SevenEightNine</i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/replaceElement01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/replaceElement01-expected.html b/Editor/tests/dom/replaceElement01-expected.html
index a788a5c..bb9a23e 100644
--- a/Editor/tests/dom/replaceElement01-expected.html
+++ b/Editor/tests/dom/replaceElement01-expected.html
@@ -1,4 +1,8 @@
 <html>
   <head></head>
-  <body><div>Sample text</div></body>
+  <body>
+    <div>
+      Sample text
+    </div>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/replaceElement02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/replaceElement02-expected.html b/Editor/tests/dom/replaceElement02-expected.html
index 2ba0efc..7b87b12 100644
--- a/Editor/tests/dom/replaceElement02-expected.html
+++ b/Editor/tests/dom/replaceElement02-expected.html
@@ -3,7 +3,9 @@
   <body>
     <p>One</p>
     <p>Two</p>
-    <div>Three</div>
+    <div>
+      Three
+    </div>
     <p>Four</p>
     <p>Five</p>
   </body>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/replaceElement03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/replaceElement03-expected.html b/Editor/tests/dom/replaceElement03-expected.html
index d5a25eb..560309a 100644
--- a/Editor/tests/dom/replaceElement03-expected.html
+++ b/Editor/tests/dom/replaceElement03-expected.html
@@ -3,7 +3,9 @@
   <body>
     <p>One</p>
     <p>Two</p>
-    <div align="center" style="color: red">Three</div>
+    <div align="center" style="color: red">
+      Three
+    </div>
     <p>Four</p>
     <p>Five</p>
   </body>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/replaceElement06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/replaceElement06-expected.html b/Editor/tests/dom/replaceElement06-expected.html
index 86ba135..362f32d 100644
--- a/Editor/tests/dom/replaceElement06-expected.html
+++ b/Editor/tests/dom/replaceElement06-expected.html
@@ -3,7 +3,9 @@
   <body>
     <p>One</p>
     <p>Two</p>
-    <div>Sam[ple te]xt</div>
+    <div>
+      Sam[ple te]xt
+    </div>
     <p>Six</p>
     <p>Seven</p>
   </body>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/replaceElement07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/replaceElement07-expected.html b/Editor/tests/dom/replaceElement07-expected.html
index 13ec421..ef72dcb 100644
--- a/Editor/tests/dom/replaceElement07-expected.html
+++ b/Editor/tests/dom/replaceElement07-expected.html
@@ -4,7 +4,9 @@
     <p>One</p>
     <p>Two</p>
     [
-    <div>Sample text</div>
+    <div>
+      Sample text
+    </div>
     ]
     <p>Six</p>
     <p>Seven</p>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/replaceElement08-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/replaceElement08-expected.html b/Editor/tests/dom/replaceElement08-expected.html
index b4e915d..377cfda 100644
--- a/Editor/tests/dom/replaceElement08-expected.html
+++ b/Editor/tests/dom/replaceElement08-expected.html
@@ -3,7 +3,9 @@
   <body>
     <p>One</p>
     <p>Two</p>
-    <div>[Sample text]</div>
+    <div>
+      [Sample text]
+    </div>
     <p>Six</p>
     <p>Seven</p>
   </body>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/tracking-delete01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/tracking-delete01-expected.html b/Editor/tests/dom/tracking-delete01-expected.html
index e3a4d99..c6b79d1 100644
--- a/Editor/tests/dom/tracking-delete01-expected.html
+++ b/Editor/tests/dom/tracking-delete01-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body>[]</body>
+  <body>
+    []
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/tracking-delete02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/tracking-delete02-expected.html b/Editor/tests/dom/tracking-delete02-expected.html
index e3a4d99..c6b79d1 100644
--- a/Editor/tests/dom/tracking-delete02-expected.html
+++ b/Editor/tests/dom/tracking-delete02-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body>[]</body>
+  <body>
+    []
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/tracking-delete03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/tracking-delete03-expected.html b/Editor/tests/dom/tracking-delete03-expected.html
index e3a4d99..c6b79d1 100644
--- a/Editor/tests/dom/tracking-delete03-expected.html
+++ b/Editor/tests/dom/tracking-delete03-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body>[]</body>
+  <body>
+    []
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/tracking-mergeWithNeighbours01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/tracking-mergeWithNeighbours01-expected.html b/Editor/tests/dom/tracking-mergeWithNeighbours01-expected.html
index d1477c0..b48aa59 100644
--- a/Editor/tests/dom/tracking-mergeWithNeighbours01-expected.html
+++ b/Editor/tests/dom/tracking-mergeWithNeighbours01-expected.html
@@ -1,7 +1,8 @@
 <html>
   <head>
   </head>
-  <body>-
+  <body>
+    -
 Before: positions[0] = (BODY,0)
 Before: positions[1] = (P,0)
 Before: positions[2] = (BR#br1,0)
@@ -51,5 +52,6 @@ After: positions[20] = (P,2) - changed from (P,4)
 After: positions[21] = (BR#br2,0)
 After: positions[22] = (P,3) - changed from (P,5)
 After: positions[23] = (BODY,1)
--</body>
+-
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/tracking-mergeWithNeighbours02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/tracking-mergeWithNeighbours02-expected.html b/Editor/tests/dom/tracking-mergeWithNeighbours02-expected.html
index 9a91f0d..9f592e5 100644
--- a/Editor/tests/dom/tracking-mergeWithNeighbours02-expected.html
+++ b/Editor/tests/dom/tracking-mergeWithNeighbours02-expected.html
@@ -1,7 +1,8 @@
 <html>
   <head>
   </head>
-  <body>-
+  <body>
+    -
 Before: positions[0] = (BODY,0)
 Before: positions[1] = (P,0)
 Before: positions[2] = (SPAN#span1,0)
@@ -65,5 +66,6 @@ After: positions[27] = (P,2) - changed from (P,4)
 After: positions[28] = (SPAN#span5,0)
 After: positions[29] = (P,3) - changed from (P,5)
 After: positions[30] = (BODY,1)
--</body>
+-
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/tracking-moveNode-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/tracking-moveNode-expected.html b/Editor/tests/dom/tracking-moveNode-expected.html
index 796ef0a..561690d 100644
--- a/Editor/tests/dom/tracking-moveNode-expected.html
+++ b/Editor/tests/dom/tracking-moveNode-expected.html
@@ -1,7 +1,8 @@
 <html>
   <head>
   </head>
-  <body>-
+  <body>
+    -
 Before: positions[0] = (BODY,0)
 Before: positions[1] = (P#p1,0)
 Before: positions[2] = (B,0)
@@ -173,5 +174,6 @@ After: positions[81] = (BR,0)
 After: positions[82] = (B,2)
 After: positions[83] = (P#p2,6) - changed from (P#p2,5)
 After: positions[84] = (BODY,2)
--</body>
+-
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/tracking-removeNodeButKeepChildren-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/tracking-removeNodeButKeepChildren-expected.html b/Editor/tests/dom/tracking-removeNodeButKeepChildren-expected.html
index 88f6503..95eab37 100644
--- a/Editor/tests/dom/tracking-removeNodeButKeepChildren-expected.html
+++ b/Editor/tests/dom/tracking-removeNodeButKeepChildren-expected.html
@@ -1,7 +1,8 @@
 <html>
   <head>
   </head>
-  <body>-
+  <body>
+    -
 Before: positions[0] = (BODY,0)
 Before: positions[1] = (P#p1,0)
 Before: positions[2] = "|ab"
@@ -81,5 +82,6 @@ After: positions[35] = "|\n\n"
 After: positions[36] = "\n|\n"
 After: positions[37] = "\n\n|"
 After: positions[38] = (BODY,6) - changed from (BODY,4)
--</body>
+-
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/tracking-replaceElement-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/tracking-replaceElement-expected.html b/Editor/tests/dom/tracking-replaceElement-expected.html
index a3e6149..a83cfa6 100644
--- a/Editor/tests/dom/tracking-replaceElement-expected.html
+++ b/Editor/tests/dom/tracking-replaceElement-expected.html
@@ -1,7 +1,8 @@
 <html>
   <head>
   </head>
-  <body>-
+  <body>
+    -
 Before: positions[0] = (BODY,0)
 Before: positions[1] = (P#p1,0)
 Before: positions[2] = "|ab"
@@ -81,5 +82,6 @@ After: positions[35] = "|\n\n"
 After: positions[36] = "\n|\n"
 After: positions[37] = "\n\n|"
 After: positions[38] = (BODY,4)
--</body>
+-
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/tracking-text1-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/tracking-text1-expected.html b/Editor/tests/dom/tracking-text1-expected.html
index c2814ab..964c4f3 100644
--- a/Editor/tests/dom/tracking-text1-expected.html
+++ b/Editor/tests/dom/tracking-text1-expected.html
@@ -1,6 +1,7 @@
 <html>
   <head></head>
-  <body>-
+  <body>
+    -
 Before text change:
 positions[0] = "|Here is some text"
 positions[1] = "H|ere is some text"
@@ -39,5 +40,6 @@ positions[14] = "Here is t|ext"
 positions[15] = "Here is te|xt"
 positions[16] = "Here is tex|t"
 positions[17] = "Here is text|"
--</body>
+-
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/tracking-text2-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/tracking-text2-expected.html b/Editor/tests/dom/tracking-text2-expected.html
index f435e11..d5c122d 100644
--- a/Editor/tests/dom/tracking-text2-expected.html
+++ b/Editor/tests/dom/tracking-text2-expected.html
@@ -1,6 +1,7 @@
 <html>
   <head></head>
-  <body>-
+  <body>
+    -
 Before text change:
 positions[0] = "|Here is some text"
 positions[1] = "H|ere is some text"
@@ -39,5 +40,6 @@ positions[14] = "is some t|ext"
 positions[15] = "is some te|xt"
 positions[16] = "is some tex|t"
 positions[17] = "is some text|"
--</body>
+-
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/tracking-text3-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/tracking-text3-expected.html b/Editor/tests/dom/tracking-text3-expected.html
index 57b328e..1df6e5d 100644
--- a/Editor/tests/dom/tracking-text3-expected.html
+++ b/Editor/tests/dom/tracking-text3-expected.html
@@ -1,6 +1,7 @@
 <html>
   <head></head>
-  <body>-
+  <body>
+    -
 Before text change:
 positions[0] = "|Here is some text"
 positions[1] = "H|ere is some text"
@@ -39,5 +40,6 @@ positions[14] = "Here is some|"
 positions[15] = "Here is some|"
 positions[16] = "Here is some|"
 positions[17] = "Here is some|"
--</body>
+-
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/tracking-text4-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/tracking-text4-expected.html b/Editor/tests/dom/tracking-text4-expected.html
index 1339a49..6103a83 100644
--- a/Editor/tests/dom/tracking-text4-expected.html
+++ b/Editor/tests/dom/tracking-text4-expected.html
@@ -1,6 +1,7 @@
 <html>
   <head></head>
-  <body>-
+  <body>
+    -
 Before text change:
 positions[0] = "|Here is some text"
 positions[1] = "H|ere is some text"
@@ -39,5 +40,6 @@ positions[14] = "Here is (inserted)some t|ext"
 positions[15] = "Here is (inserted)some te|xt"
 positions[16] = "Here is (inserted)some tex|t"
 positions[17] = "Here is (inserted)some text|"
--</body>
+-
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/tracking-text5-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/tracking-text5-expected.html b/Editor/tests/dom/tracking-text5-expected.html
index a60a0ea..f935774 100644
--- a/Editor/tests/dom/tracking-text5-expected.html
+++ b/Editor/tests/dom/tracking-text5-expected.html
@@ -1,6 +1,7 @@
 <html>
   <head></head>
-  <body>-
+  <body>
+    -
 Before text change:
 positions[0] = "|Here is some text"
 positions[1] = "H|ere is some text"
@@ -39,5 +40,6 @@ positions[14] = "(inserted)Here is some t|ext"
 positions[15] = "(inserted)Here is some te|xt"
 positions[16] = "(inserted)Here is some tex|t"
 positions[17] = "(inserted)Here is some text|"
--</body>
+-
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/tracking-text6-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/tracking-text6-expected.html b/Editor/tests/dom/tracking-text6-expected.html
index 81f5d4f..0f5ab29 100644
--- a/Editor/tests/dom/tracking-text6-expected.html
+++ b/Editor/tests/dom/tracking-text6-expected.html
@@ -1,6 +1,7 @@
 <html>
   <head></head>
-  <body>-
+  <body>
+    -
 Before text change:
 positions[0] = "|Here is some text"
 positions[1] = "H|ere is some text"
@@ -39,5 +40,6 @@ positions[14] = "Here is some t|ext(inserted)"
 positions[15] = "Here is some te|xt(inserted)"
 positions[16] = "Here is some tex|t(inserted)"
 positions[17] = "Here is some text|(inserted)"
--</body>
+-
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/tracking-text7-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/tracking-text7-expected.html b/Editor/tests/dom/tracking-text7-expected.html
index 5b65f1b..6e62c11 100644
--- a/Editor/tests/dom/tracking-text7-expected.html
+++ b/Editor/tests/dom/tracking-text7-expected.html
@@ -1,6 +1,7 @@
 <html>
   <head></head>
-  <body>-
+  <body>
+    -
 Before text change:
 positions[0] = "|Here is some text"
 positions[1] = "H|ere is some text"
@@ -39,5 +40,6 @@ positions[14] = "Here is (inserted)t|ext"
 positions[15] = "Here is (inserted)te|xt"
 positions[16] = "Here is (inserted)tex|t"
 positions[17] = "Here is (inserted)text|"
--</body>
+-
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/tracking-text8-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/tracking-text8-expected.html b/Editor/tests/dom/tracking-text8-expected.html
index 5e9ba61..7fff8bb 100644
--- a/Editor/tests/dom/tracking-text8-expected.html
+++ b/Editor/tests/dom/tracking-text8-expected.html
@@ -1,6 +1,7 @@
 <html>
   <head></head>
-  <body>-
+  <body>
+    -
 Before text change:
 positions[0] = "|Here is some text"
 positions[1] = "H|ere is some text"
@@ -39,5 +40,6 @@ positions[14] = "(inserted) is some t|ext"
 positions[15] = "(inserted) is some te|xt"
 positions[16] = "(inserted) is some tex|t"
 positions[17] = "(inserted) is some text|"
--</body>
+-
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/tracking-text9-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/tracking-text9-expected.html b/Editor/tests/dom/tracking-text9-expected.html
index a6a11f4..369dd26 100644
--- a/Editor/tests/dom/tracking-text9-expected.html
+++ b/Editor/tests/dom/tracking-text9-expected.html
@@ -1,6 +1,7 @@
 <html>
   <head></head>
-  <body>-
+  <body>
+    -
 Before text change:
 positions[0] = "|Here is some text"
 positions[1] = "H|ere is some text"
@@ -39,5 +40,6 @@ positions[14] = "t|ext(inserted)"
 positions[15] = "te|xt(inserted)"
 positions[16] = "tex|t(inserted)"
 positions[17] = "text|(inserted)"
--</body>
+-
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/tracking-wrapNode-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/tracking-wrapNode-expected.html b/Editor/tests/dom/tracking-wrapNode-expected.html
index 0e52b3f..7012054 100644
--- a/Editor/tests/dom/tracking-wrapNode-expected.html
+++ b/Editor/tests/dom/tracking-wrapNode-expected.html
@@ -1,7 +1,8 @@
 <html>
   <head>
   </head>
-  <body>-
+  <body>
+    -
 Before: positions[0] = (BODY,0)
 Before: positions[1] = (P#p1,0)
 Before: positions[2] = "|ab"
@@ -61,5 +62,6 @@ After: positions[25] = "|\n\n"
 After: positions[26] = "\n|\n"
 After: positions[27] = "\n\n|"
 After: positions[28] = (BODY,4)
--</body>
+-
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/tracking1-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/tracking1-expected.html b/Editor/tests/dom/tracking1-expected.html
index e058641..a4bd0ab 100644
--- a/Editor/tests/dom/tracking1-expected.html
+++ b/Editor/tests/dom/tracking1-expected.html
@@ -1,6 +1,7 @@
 <html>
   <head></head>
-  <body>-
+  <body>
+    -
 posOffset 0, nodeOffset 0: (BODY,0) (BODY,0) (BODY,0)
 posOffset 0, nodeOffset 1: (BODY,0) (BODY,0) (BODY,0)
 posOffset 0, nodeOffset 2: (BODY,0) (BODY,0) (BODY,0)
@@ -26,5 +27,6 @@ posOffset 4, nodeOffset 1: (BODY,4) (BODY,5) (BODY,4)
 posOffset 4, nodeOffset 2: (BODY,4) (BODY,5) (BODY,4)
 posOffset 4, nodeOffset 3: (BODY,4) (BODY,5) (BODY,4)
 posOffset 4, nodeOffset 4: (BODY,4) (BODY,4) (BODY,4)
--</body>
+-
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/dom/tracking2-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/dom/tracking2-expected.html b/Editor/tests/dom/tracking2-expected.html
index 33a85ba..bfde537 100644
--- a/Editor/tests/dom/tracking2-expected.html
+++ b/Editor/tests/dom/tracking2-expected.html
@@ -1,9 +1,11 @@
 <html>
   <head></head>
-  <body>-
+  <body>
+    -
 Before insertion: position = (BODY,4)
 After insertion: position = (BODY,4)
 Before removal: position = (BODY,4)
 After removal: position = (BODY,4)
--</body>
+-
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/figures/insertFigure-hierarchy01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/figures/insertFigure-hierarchy01-expected.html b/Editor/tests/figures/insertFigure-hierarchy01-expected.html
index 264929e..e2892dc 100644
--- a/Editor/tests/figures/insertFigure-hierarchy01-expected.html
+++ b/Editor/tests/figures/insertFigure-hierarchy01-expected.html
@@ -7,6 +7,8 @@
       <img src="nothing.png"/>
       <figcaption>First figure</figcaption>
     </figure>
-    <figure id="item2"><img src="nothing.png"/></figure>
+    <figure id="item2">
+      <img src="nothing.png"/>
+    </figure>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/figures/insertFigure01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/figures/insertFigure01-expected.html b/Editor/tests/figures/insertFigure01-expected.html
index b4683f9..637519d 100644
--- a/Editor/tests/figures/insertFigure01-expected.html
+++ b/Editor/tests/figures/insertFigure01-expected.html
@@ -2,5 +2,9 @@
   <head>
     <link href="../generic.css" rel="stylesheet"/>
   </head>
-  <body><figure id="item1"><img src="nothing.png"/></figure></body>
+  <body>
+    <figure id="item1">
+      <img src="nothing.png"/>
+    </figure>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/figures/insertFigure02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/figures/insertFigure02-expected.html b/Editor/tests/figures/insertFigure02-expected.html
index ea52654..a26e458 100644
--- a/Editor/tests/figures/insertFigure02-expected.html
+++ b/Editor/tests/figures/insertFigure02-expected.html
@@ -2,5 +2,9 @@
   <head>
     <link href="../generic.css" rel="stylesheet"/>
   </head>
-  <body><figure id="item1"><img src="nothing.png" style="width: 60%"/></figure></body>
+  <body>
+    <figure id="item1">
+      <img src="nothing.png" style="width: 60%"/>
+    </figure>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/figures/setProperties01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/figures/setProperties01-expected.html b/Editor/tests/figures/setProperties01-expected.html
index 2517473..846b467 100644
--- a/Editor/tests/figures/setProperties01-expected.html
+++ b/Editor/tests/figures/setProperties01-expected.html
@@ -2,5 +2,9 @@
   <head>
     <link href="../generic.css" rel="stylesheet"/>
   </head>
-  <body><figure id="item1"><img src="nothing.png" style="width: 50%"/></figure></body>
+  <body>
+    <figure id="item1">
+      <img src="nothing.png" style="width: 50%"/>
+    </figure>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/figures/setProperties02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/figures/setProperties02-expected.html b/Editor/tests/figures/setProperties02-expected.html
index b4683f9..637519d 100644
--- a/Editor/tests/figures/setProperties02-expected.html
+++ b/Editor/tests/figures/setProperties02-expected.html
@@ -2,5 +2,9 @@
   <head>
     <link href="../generic.css" rel="stylesheet"/>
   </head>
-  <body><figure id="item1"><img src="nothing.png"/></figure></body>
+  <body>
+    <figure id="item1">
+      <img src="nothing.png"/>
+    </figure>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/figures/setProperties03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/figures/setProperties03-expected.html b/Editor/tests/figures/setProperties03-expected.html
index 6b066f9..b781301 100644
--- a/Editor/tests/figures/setProperties03-expected.html
+++ b/Editor/tests/figures/setProperties03-expected.html
@@ -2,5 +2,9 @@
   <head>
     <link href="../generic.css" rel="stylesheet"/>
   </head>
-  <body><figure id="item1"><img src="other.png" style="width: 20%"/></figure></body>
+  <body>
+    <figure id="item1">
+      <img src="other.png" style="width: 20%"/>
+    </figure>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/figures/setProperties04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/figures/setProperties04-expected.html b/Editor/tests/figures/setProperties04-expected.html
index 27a2b34..1ce2a75 100644
--- a/Editor/tests/figures/setProperties04-expected.html
+++ b/Editor/tests/figures/setProperties04-expected.html
@@ -2,5 +2,9 @@
   <head>
     <link href="../generic.css" rel="stylesheet"/>
   </head>
-  <body><figure id="item1"><img style="width: 20%"/></figure></body>
+  <body>
+    <figure id="item1">
+      <img style="width: 20%"/>
+    </figure>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/formatting/classNames01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/classNames01-expected.html b/Editor/tests/formatting/classNames01-expected.html
index 209197d..a988afe 100644
--- a/Editor/tests/formatting/classNames01-expected.html
+++ b/Editor/tests/formatting/classNames01-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p class="test">Sample text</p></body>
+  <body>
+    <p class="test">Sample text</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/formatting/classNames02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/classNames02-expected.html b/Editor/tests/formatting/classNames02-expected.html
index 935458b..a34d57e 100644
--- a/Editor/tests/formatting/classNames02-expected.html
+++ b/Editor/tests/formatting/classNames02-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><h1>Sample text</h1></body>
+  <body>
+    <h1>Sample text</h1>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/formatting/classNames03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/classNames03-expected.html b/Editor/tests/formatting/classNames03-expected.html
index 935458b..a34d57e 100644
--- a/Editor/tests/formatting/classNames03-expected.html
+++ b/Editor/tests/formatting/classNames03-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><h1>Sample text</h1></body>
+  <body>
+    <h1>Sample text</h1>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/formatting/classNames04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/classNames04-expected.html b/Editor/tests/formatting/classNames04-expected.html
index 209197d..a988afe 100644
--- a/Editor/tests/formatting/classNames04-expected.html
+++ b/Editor/tests/formatting/classNames04-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p class="test">Sample text</p></body>
+  <body>
+    <p class="test">Sample text</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/formatting/classNames05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/classNames05-expected.html b/Editor/tests/formatting/classNames05-expected.html
index 2d1beeb..756d54b 100644
--- a/Editor/tests/formatting/classNames05-expected.html
+++ b/Editor/tests/formatting/classNames05-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><h2 class="test">Sample text</h2></body>
+  <body>
+    <h2 class="test">Sample text</h2>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/formatting/classNames06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/classNames06-expected.html b/Editor/tests/formatting/classNames06-expected.html
index b691bda..966e4ad 100644
--- a/Editor/tests/formatting/classNames06-expected.html
+++ b/Editor/tests/formatting/classNames06-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>Sample text</p></body>
+  <body>
+    <p>Sample text</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/formatting/classNames07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/classNames07-expected.html b/Editor/tests/formatting/classNames07-expected.html
index 935458b..a34d57e 100644
--- a/Editor/tests/formatting/classNames07-expected.html
+++ b/Editor/tests/formatting/classNames07-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><h1>Sample text</h1></body>
+  <body>
+    <h1>Sample text</h1>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/formatting/classNames08-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/classNames08-expected.html b/Editor/tests/formatting/classNames08-expected.html
index 935458b..a34d57e 100644
--- a/Editor/tests/formatting/classNames08-expected.html
+++ b/Editor/tests/formatting/classNames08-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><h1>Sample text</h1></body>
+  <body>
+    <h1>Sample text</h1>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/formatting/empty05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/empty05-expected.html b/Editor/tests/formatting/empty05-expected.html
index 74641c9..ee0a065 100644
--- a/Editor/tests/formatting/empty05-expected.html
+++ b/Editor/tests/formatting/empty05-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p><b>a[]</b></p></body>
+  <body>
+    <p><b>a[]</b></p>
+  </body>
 </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/formatting/empty06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/empty06-expected.html b/Editor/tests/formatting/empty06-expected.html
index d784c8f..e673975 100644
--- a/Editor/tests/formatting/empty06-expected.html
+++ b/Editor/tests/formatting/empty06-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p><b>a[]</b></p></body>
+  <body>
+    <p><b>a[]</b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/formatting/empty07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/empty07-expected.html b/Editor/tests/formatting/empty07-expected.html
index cb6a59d..259fd6e 100644
--- a/Editor/tests/formatting/empty07-expected.html
+++ b/Editor/tests/formatting/empty07-expected.html
@@ -1,4 +1,8 @@
 <html>
   <head></head>
-  <body><ul><li><p><b>a[]</b></p></li></ul></body>
+  <body>
+    <ul>
+      <li><p><b>a[]</b></p></li>
+    </ul>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/formatting/getFormatting02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting02-expected.html b/Editor/tests/formatting/getFormatting02-expected.html
index 9d2737d..f2ad17d 100644
--- a/Editor/tests/formatting/getFormatting02-expected.html
+++ b/Editor/tests/formatting/getFormatting02-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>-uxwrite-paragraph-style = p</p></body>
+  <body>
+    <p>-uxwrite-paragraph-style = p</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/formatting/getFormatting03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting03-expected.html b/Editor/tests/formatting/getFormatting03-expected.html
index 9d2737d..f2ad17d 100644
--- a/Editor/tests/formatting/getFormatting03-expected.html
+++ b/Editor/tests/formatting/getFormatting03-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>-uxwrite-paragraph-style = p</p></body>
+  <body>
+    <p>-uxwrite-paragraph-style = p</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/formatting/getFormatting10-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting10-expected.html b/Editor/tests/formatting/getFormatting10-expected.html
index e125e49..21a0838 100644
--- a/Editor/tests/formatting/getFormatting10-expected.html
+++ b/Editor/tests/formatting/getFormatting10-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>-uxwrite-paragraph-style = p.test</p></body>
+  <body>
+    <p>-uxwrite-paragraph-style = p.test</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/formatting/getFormatting11-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/getFormatting11-expected.html b/Editor/tests/formatting/getFormatting11-expected.html
index e4009fd..2e704f5 100644
--- a/Editor/tests/formatting/getFormatting11-expected.html
+++ b/Editor/tests/formatting/getFormatting11-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p>-uxwrite-paragraph-style = h1</p></body>
+  <body>
+    <p>-uxwrite-paragraph-style = h1</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/formatting/inline-change01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change01-expected.html b/Editor/tests/formatting/inline-change01-expected.html
index 7d3d2ac..481c064 100644
--- a/Editor/tests/formatting/inline-change01-expected.html
+++ b/Editor/tests/formatting/inline-change01-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p><s style="color: red">Text</s></p></body>
+  <body>
+    <p><s style="color: red">Text</s></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/formatting/inline-change02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change02-expected.html b/Editor/tests/formatting/inline-change02-expected.html
index 7d3d2ac..481c064 100644
--- a/Editor/tests/formatting/inline-change02-expected.html
+++ b/Editor/tests/formatting/inline-change02-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p><s style="color: red">Text</s></p></body>
+  <body>
+    <p><s style="color: red">Text</s></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/formatting/inline-change03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change03-expected.html b/Editor/tests/formatting/inline-change03-expected.html
index 7eab119..e747faf 100644
--- a/Editor/tests/formatting/inline-change03-expected.html
+++ b/Editor/tests/formatting/inline-change03-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p style="color: red"><s>Text</s></p></body>
+  <body>
+    <p style="color: red"><s>Text</s></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/formatting/inline-change04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change04-expected.html b/Editor/tests/formatting/inline-change04-expected.html
index 7d3d2ac..481c064 100644
--- a/Editor/tests/formatting/inline-change04-expected.html
+++ b/Editor/tests/formatting/inline-change04-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p><s style="color: red">Text</s></p></body>
+  <body>
+    <p><s style="color: red">Text</s></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/formatting/inline-change05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change05-expected.html b/Editor/tests/formatting/inline-change05-expected.html
index 7d3d2ac..481c064 100644
--- a/Editor/tests/formatting/inline-change05-expected.html
+++ b/Editor/tests/formatting/inline-change05-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p><s style="color: red">Text</s></p></body>
+  <body>
+    <p><s style="color: red">Text</s></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/formatting/inline-change06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-change06-expected.html b/Editor/tests/formatting/inline-change06-expected.html
index 7eab119..e747faf 100644
--- a/Editor/tests/formatting/inline-change06-expected.html
+++ b/Editor/tests/formatting/inline-change06-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p style="color: red"><s>Text</s></p></body>
+  <body>
+    <p style="color: red"><s>Text</s></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/formatting/inline-remove01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/formatting/inline-remove01-expected.html b/Editor/tests/formatting/inline-remove01-expected.html
index 02e36f9..b51a95a 100644
--- a/Editor/tests/formatting/inline-remove01-expected.html
+++ b/Editor/tests/formatting/inline-remove01-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><p><s>Text</s></p></body>
+  <body>
+    <p><s>Text</s></p>
+  </body>
 </html>