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:47 UTC

[2/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/outline/heading-hierarchy03c-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/heading-hierarchy03c-expected.html b/Editor/tests/outline/heading-hierarchy03c-expected.html
index daa8627..0ae7cc1 100644
--- a/Editor/tests/outline/heading-hierarchy03c-expected.html
+++ b/Editor/tests/outline/heading-hierarchy03c-expected.html
@@ -9,6 +9,8 @@
       </li>
     </ol>
     <h1 id="item1">[Four]</h1>
-    <ol><li><p>Five</p></li></ol>
+    <ol>
+      <li><p>Five</p></li>
+    </ol>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/heading-hierarchy04a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/heading-hierarchy04a-expected.html b/Editor/tests/outline/heading-hierarchy04a-expected.html
index 6d20bab..a95e2c1 100644
--- a/Editor/tests/outline/heading-hierarchy04a-expected.html
+++ b/Editor/tests/outline/heading-hierarchy04a-expected.html
@@ -1,7 +1,9 @@
 <html>
   <head></head>
   <body>
-    <ol><li>One</li></ol>
+    <ol>
+      <li>One</li>
+    </ol>
     <h1 id="item1">[Two]</h1>
     <ol>
       <li>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/heading-hierarchy04c-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/heading-hierarchy04c-expected.html b/Editor/tests/outline/heading-hierarchy04c-expected.html
index 56bbcad..c320022 100644
--- a/Editor/tests/outline/heading-hierarchy04c-expected.html
+++ b/Editor/tests/outline/heading-hierarchy04c-expected.html
@@ -11,6 +11,8 @@
       </li>
     </ol>
     <h1 id="item1">[Four]</h1>
-    <ol><li>Five</li></ol>
+    <ol>
+      <li>Five</li>
+    </ol>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/listOfFigures10-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures10-expected.html b/Editor/tests/outline/listOfFigures10-expected.html
index 3f708f6..d2216f7 100644
--- a/Editor/tests/outline/listOfFigures10-expected.html
+++ b/Editor/tests/outline/listOfFigures10-expected.html
@@ -2,5 +2,9 @@
   <head>
     <link href="../generic.css" rel="stylesheet"/>
   </head>
-  <body><nav class="listoffigures"><p class="toc1">[No figures defined]</p></nav></body>
+  <body>
+    <nav class="listoffigures">
+      <p class="toc1">[No figures defined]</p>
+    </nav>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/listOfFigures11-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfFigures11-expected.html b/Editor/tests/outline/listOfFigures11-expected.html
index 3f708f6..d2216f7 100644
--- a/Editor/tests/outline/listOfFigures11-expected.html
+++ b/Editor/tests/outline/listOfFigures11-expected.html
@@ -2,5 +2,9 @@
   <head>
     <link href="../generic.css" rel="stylesheet"/>
   </head>
-  <body><nav class="listoffigures"><p class="toc1">[No figures defined]</p></nav></body>
+  <body>
+    <nav class="listoffigures">
+      <p class="toc1">[No figures defined]</p>
+    </nav>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/listOfTables01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables01-expected.html b/Editor/tests/outline/listOfTables01-expected.html
index d83bd48..431c04a 100644
--- a/Editor/tests/outline/listOfTables01-expected.html
+++ b/Editor/tests/outline/listOfTables01-expected.html
@@ -32,22 +32,38 @@
     <table id="item1" style="width: 100%">
       <caption>Test table A</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item2" style="width: 100%">
       <caption>Test table B</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item3" style="width: 100%">
       <caption>Test table C</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item4" style="width: 100%">
       <caption>Test table D</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/listOfTables02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables02-expected.html b/Editor/tests/outline/listOfTables02-expected.html
index 9372ca2..56cb8d6 100644
--- a/Editor/tests/outline/listOfTables02-expected.html
+++ b/Editor/tests/outline/listOfTables02-expected.html
@@ -32,7 +32,11 @@
     <table id="item1" style="width: 100%">
       <caption>Test table A</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item2" style="width: 100%">
       <caption>
@@ -40,17 +44,29 @@
         XYZ
       </caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item3" style="width: 100%">
       <caption>Test table C</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item4" style="width: 100%">
       <caption>Test table D</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/listOfTables03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables03-expected.html b/Editor/tests/outline/listOfTables03-expected.html
index 35b85d0..8d55a43 100644
--- a/Editor/tests/outline/listOfTables03-expected.html
+++ b/Editor/tests/outline/listOfTables03-expected.html
@@ -32,22 +32,38 @@
     <table id="item1" style="width: 100%">
       <caption>Test table A</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item2" style="width: 100%">
       <caption>TeXYZst table B</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item3" style="width: 100%">
       <caption>Test table C</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item4" style="width: 100%">
       <caption>Test table D</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/listOfTables04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables04-expected.html b/Editor/tests/outline/listOfTables04-expected.html
index 51e410e..b6b451b 100644
--- a/Editor/tests/outline/listOfTables04-expected.html
+++ b/Editor/tests/outline/listOfTables04-expected.html
@@ -32,22 +32,38 @@
     <table id="item1" style="width: 100%">
       <caption>Test table A</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item2" style="width: 100%">
       <caption>Teble B</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item3" style="width: 100%">
       <caption>Test table C</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item4" style="width: 100%">
       <caption>Test table D</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/listOfTables05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables05-expected.html b/Editor/tests/outline/listOfTables05-expected.html
index 28d6b4e..d630969 100644
--- a/Editor/tests/outline/listOfTables05-expected.html
+++ b/Editor/tests/outline/listOfTables05-expected.html
@@ -31,23 +31,47 @@
     </nav>
     <table id="item1" style="width: 100%">
       <caption>Test table A</caption>
-      <colgroup><col width="100%"/></colgroup>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <colgroup>
+        <col width="100%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item2" style="width: 100%">
       <caption>Test table B</caption>
-      <colgroup><col width="100%"/></colgroup>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <colgroup>
+        <col width="100%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item3" style="width: 100%">
       <caption>Test table C</caption>
-      <colgroup><col width="100%"/></colgroup>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <colgroup>
+        <col width="100%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item4" style="width: 100%">
       <caption>Test table D</caption>
-      <colgroup><col width="100%"/></colgroup>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <colgroup>
+        <col width="100%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/listOfTables06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables06-expected.html b/Editor/tests/outline/listOfTables06-expected.html
index 5a318f2..fa069fe 100644
--- a/Editor/tests/outline/listOfTables06-expected.html
+++ b/Editor/tests/outline/listOfTables06-expected.html
@@ -11,23 +11,47 @@
     </nav>
     <table id="item1" style="width: 100%">
       <caption class="Unnumbered">Test table A</caption>
-      <colgroup><col width="100%"/></colgroup>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <colgroup>
+        <col width="100%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item2" style="width: 100%">
       <caption class="Unnumbered">Test table B</caption>
-      <colgroup><col width="100%"/></colgroup>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <colgroup>
+        <col width="100%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item3" style="width: 100%">
       <caption class="Unnumbered">Test table C</caption>
-      <colgroup><col width="100%"/></colgroup>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <colgroup>
+        <col width="100%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item4" style="width: 100%">
       <caption class="Unnumbered">Test table D</caption>
-      <colgroup><col width="100%"/></colgroup>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <colgroup>
+        <col width="100%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/listOfTables07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables07-expected.html b/Editor/tests/outline/listOfTables07-expected.html
index 74cbb79..7e6c405 100644
--- a/Editor/tests/outline/listOfTables07-expected.html
+++ b/Editor/tests/outline/listOfTables07-expected.html
@@ -12,22 +12,38 @@
     <table id="item1" style="width: 100%">
       <caption class="Unnumbered">Test table A</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item2" style="width: 100%">
       <caption class="Unnumbered">Test table B</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item3" style="width: 100%">
       <caption class="Unnumbered">Test table C</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item4" style="width: 100%">
       <caption class="Unnumbered">Test table D</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/listOfTables08-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables08-expected.html b/Editor/tests/outline/listOfTables08-expected.html
index 74cbb79..7e6c405 100644
--- a/Editor/tests/outline/listOfTables08-expected.html
+++ b/Editor/tests/outline/listOfTables08-expected.html
@@ -12,22 +12,38 @@
     <table id="item1" style="width: 100%">
       <caption class="Unnumbered">Test table A</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item2" style="width: 100%">
       <caption class="Unnumbered">Test table B</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item3" style="width: 100%">
       <caption class="Unnumbered">Test table C</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item4" style="width: 100%">
       <caption class="Unnumbered">Test table D</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/listOfTables09-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables09-expected.html b/Editor/tests/outline/listOfTables09-expected.html
index a65575c..22f283e 100644
--- a/Editor/tests/outline/listOfTables09-expected.html
+++ b/Editor/tests/outline/listOfTables09-expected.html
@@ -22,22 +22,38 @@
     <table id="item1" style="width: 100%">
       <caption class="Unnumbered">Test table A</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item2" style="width: 100%">
       <caption class="Unnumbered">Test table B</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item3" style="width: 100%">
       <caption>Test table C</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item4" style="width: 100%">
       <caption>Test table D</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/listOfTables09a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables09a-expected.html b/Editor/tests/outline/listOfTables09a-expected.html
index d83bd48..431c04a 100644
--- a/Editor/tests/outline/listOfTables09a-expected.html
+++ b/Editor/tests/outline/listOfTables09a-expected.html
@@ -32,22 +32,38 @@
     <table id="item1" style="width: 100%">
       <caption>Test table A</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item2" style="width: 100%">
       <caption>Test table B</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item3" style="width: 100%">
       <caption>Test table C</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item4" style="width: 100%">
       <caption>Test table D</caption>
       <col width="100%"/>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/listOfTables10-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables10-expected.html b/Editor/tests/outline/listOfTables10-expected.html
index ae022b2..a2bb877 100644
--- a/Editor/tests/outline/listOfTables10-expected.html
+++ b/Editor/tests/outline/listOfTables10-expected.html
@@ -2,5 +2,9 @@
   <head>
     <link href="../generic.css" rel="stylesheet"/>
   </head>
-  <body><nav class="listoftables"><p class="toc1">[No tables defined]</p></nav></body>
+  <body>
+    <nav class="listoftables">
+      <p class="toc1">[No tables defined]</p>
+    </nav>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/listOfTables11-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/listOfTables11-expected.html b/Editor/tests/outline/listOfTables11-expected.html
index ae022b2..a2bb877 100644
--- a/Editor/tests/outline/listOfTables11-expected.html
+++ b/Editor/tests/outline/listOfTables11-expected.html
@@ -2,5 +2,9 @@
   <head>
     <link href="../generic.css" rel="stylesheet"/>
   </head>
-  <body><nav class="listoftables"><p class="toc1">[No tables defined]</p></nav></body>
+  <body>
+    <nav class="listoftables">
+      <p class="toc1">[No tables defined]</p>
+    </nav>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/refTitle-figure01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-figure01-expected.html b/Editor/tests/outline/refTitle-figure01-expected.html
index a5bc86a..9735bee 100644
--- a/Editor/tests/outline/refTitle-figure01-expected.html
+++ b/Editor/tests/outline/refTitle-figure01-expected.html
@@ -9,10 +9,18 @@ Tables:
   <head>
   </head>
   <body>
-    <figure id="item1"><figcaption>First figure</figcaption></figure>
-    <figure id="item2"><figcaption>Second figure</figcaption></figure>
-    <figure id="item3"><figcaption class="Unnumbered">Third figure</figcaption></figure>
-    <figure id="item4"><figcaption class="Unnumbered">Fourth figure</figcaption></figure>
+    <figure id="item1">
+      <figcaption>First figure</figcaption>
+    </figure>
+    <figure id="item2">
+      <figcaption>Second figure</figcaption>
+    </figure>
+    <figure id="item3">
+      <figcaption class="Unnumbered">Third figure</figcaption>
+    </figure>
+    <figure id="item4">
+      <figcaption class="Unnumbered">Fourth figure</figcaption>
+    </figure>
     <p>
       First ref: Figure
       <a href="#item1">1</a>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/refTitle-figure03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-figure03-expected.html b/Editor/tests/outline/refTitle-figure03-expected.html
index edf4979..bc2d68b 100644
--- a/Editor/tests/outline/refTitle-figure03-expected.html
+++ b/Editor/tests/outline/refTitle-figure03-expected.html
@@ -9,10 +9,18 @@ Tables:
   <head>
   </head>
   <body>
-    <figure id="item1"><figcaption>FiXYZrst figure</figcaption></figure>
-    <figure id="item2"><figcaption>SeXYZcond figure</figcaption></figure>
-    <figure id="item3"><figcaption class="Unnumbered">ThXYZird figure</figcaption></figure>
-    <figure id="item4"><figcaption class="Unnumbered">FoXYZurth figure</figcaption></figure>
+    <figure id="item1">
+      <figcaption>FiXYZrst figure</figcaption>
+    </figure>
+    <figure id="item2">
+      <figcaption>SeXYZcond figure</figcaption>
+    </figure>
+    <figure id="item3">
+      <figcaption class="Unnumbered">ThXYZird figure</figcaption>
+    </figure>
+    <figure id="item4">
+      <figcaption class="Unnumbered">FoXYZurth figure</figcaption>
+    </figure>
     <p>
       First ref: Figure
       <a href="#item1">1</a>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/refTitle-figure04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-figure04-expected.html b/Editor/tests/outline/refTitle-figure04-expected.html
index 845e38b..e1a3cba 100644
--- a/Editor/tests/outline/refTitle-figure04-expected.html
+++ b/Editor/tests/outline/refTitle-figure04-expected.html
@@ -9,10 +9,18 @@ Tables:
   <head>
   </head>
   <body>
-    <figure id="item1"><figcaption>Fit figure</figcaption></figure>
-    <figure id="item2"><figcaption>Send figure</figcaption></figure>
-    <figure id="item3"><figcaption class="Unnumbered">Thd figure</figcaption></figure>
-    <figure id="item4"><figcaption class="Unnumbered">Foth figure</figcaption></figure>
+    <figure id="item1">
+      <figcaption>Fit figure</figcaption>
+    </figure>
+    <figure id="item2">
+      <figcaption>Send figure</figcaption>
+    </figure>
+    <figure id="item3">
+      <figcaption class="Unnumbered">Thd figure</figcaption>
+    </figure>
+    <figure id="item4">
+      <figcaption class="Unnumbered">Foth figure</figcaption>
+    </figure>
     <p>
       First ref: Figure
       <a href="#item1">1</a>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/refTitle-figure05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-figure05-expected.html b/Editor/tests/outline/refTitle-figure05-expected.html
index 974f95a..c32c9a4 100644
--- a/Editor/tests/outline/refTitle-figure05-expected.html
+++ b/Editor/tests/outline/refTitle-figure05-expected.html
@@ -9,10 +9,18 @@ Tables:
   <head>
   </head>
   <body>
-    <figure id="item1"><figcaption>Figure A</figcaption></figure>
-    <figure id="item2"><figcaption>Figure B</figcaption></figure>
-    <figure id="item3"><figcaption class="Unnumbered">Figure C</figcaption></figure>
-    <figure id="item4"><figcaption class="Unnumbered">Figure D</figcaption></figure>
+    <figure id="item1">
+      <figcaption>Figure A</figcaption>
+    </figure>
+    <figure id="item2">
+      <figcaption>Figure B</figcaption>
+    </figure>
+    <figure id="item3">
+      <figcaption class="Unnumbered">Figure C</figcaption>
+    </figure>
+    <figure id="item4">
+      <figcaption class="Unnumbered">Figure D</figcaption>
+    </figure>
     <p>
       First ref: Figure
       <a href="#item1">1</a>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/refTitle-figure06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-figure06-expected.html b/Editor/tests/outline/refTitle-figure06-expected.html
index 34c77b7..15d7200 100644
--- a/Editor/tests/outline/refTitle-figure06-expected.html
+++ b/Editor/tests/outline/refTitle-figure06-expected.html
@@ -9,10 +9,18 @@ Tables:
   <head>
   </head>
   <body>
-    <figure id="item1"><figcaption>First figure</figcaption></figure>
-    <figure id="item2"><figcaption class="Unnumbered">Second figure</figcaption></figure>
-    <figure id="item3"><figcaption class="Unnumbered">Third figure</figcaption></figure>
-    <figure id="item4"><figcaption class="Unnumbered">Fourth figure</figcaption></figure>
+    <figure id="item1">
+      <figcaption>First figure</figcaption>
+    </figure>
+    <figure id="item2">
+      <figcaption class="Unnumbered">Second figure</figcaption>
+    </figure>
+    <figure id="item3">
+      <figcaption class="Unnumbered">Third figure</figcaption>
+    </figure>
+    <figure id="item4">
+      <figcaption class="Unnumbered">Fourth figure</figcaption>
+    </figure>
     <p>
       First ref: Figure
       <a href="#item1">1</a>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/refTitle-figure07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-figure07-expected.html b/Editor/tests/outline/refTitle-figure07-expected.html
index 04dc2c5..d6bc652 100644
--- a/Editor/tests/outline/refTitle-figure07-expected.html
+++ b/Editor/tests/outline/refTitle-figure07-expected.html
@@ -9,10 +9,18 @@ Tables:
   <head>
   </head>
   <body>
-    <figure id="item1"><figcaption>First figure</figcaption></figure>
-    <figure id="item2"><figcaption>Second figure</figcaption></figure>
-    <figure id="item3"><figcaption>Third figure</figcaption></figure>
-    <figure id="item4"><figcaption class="Unnumbered">Fourth figure</figcaption></figure>
+    <figure id="item1">
+      <figcaption>First figure</figcaption>
+    </figure>
+    <figure id="item2">
+      <figcaption>Second figure</figcaption>
+    </figure>
+    <figure id="item3">
+      <figcaption>Third figure</figcaption>
+    </figure>
+    <figure id="item4">
+      <figcaption class="Unnumbered">Fourth figure</figcaption>
+    </figure>
     <p>
       First ref: Figure
       <a href="#item1">1</a>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/refTitle-table01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-table01-expected.html b/Editor/tests/outline/refTitle-table01-expected.html
index de204a8..0b7d604 100644
--- a/Editor/tests/outline/refTitle-table01-expected.html
+++ b/Editor/tests/outline/refTitle-table01-expected.html
@@ -9,10 +9,18 @@ Tables:
   <head>
   </head>
   <body>
-    <table id="item1"><caption>First table</caption></table>
-    <table id="item2"><caption>Second table</caption></table>
-    <table id="item3"><caption class="Unnumbered">Third table</caption></table>
-    <table id="item4"><caption class="Unnumbered">Fourth table</caption></table>
+    <table id="item1">
+      <caption>First table</caption>
+    </table>
+    <table id="item2">
+      <caption>Second table</caption>
+    </table>
+    <table id="item3">
+      <caption class="Unnumbered">Third table</caption>
+    </table>
+    <table id="item4">
+      <caption class="Unnumbered">Fourth table</caption>
+    </table>
     <p>
       First ref: Table
       <a href="#item1">1</a>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/refTitle-table03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-table03-expected.html b/Editor/tests/outline/refTitle-table03-expected.html
index 4d4b717..dd48fea 100644
--- a/Editor/tests/outline/refTitle-table03-expected.html
+++ b/Editor/tests/outline/refTitle-table03-expected.html
@@ -9,10 +9,18 @@ Tables:
   <head>
   </head>
   <body>
-    <table id="item1"><caption>FiXYZrst table</caption></table>
-    <table id="item2"><caption>SeXYZcond table</caption></table>
-    <table id="item3"><caption class="Unnumbered">ThXYZird table</caption></table>
-    <table id="item4"><caption class="Unnumbered">FoXYZurth table</caption></table>
+    <table id="item1">
+      <caption>FiXYZrst table</caption>
+    </table>
+    <table id="item2">
+      <caption>SeXYZcond table</caption>
+    </table>
+    <table id="item3">
+      <caption class="Unnumbered">ThXYZird table</caption>
+    </table>
+    <table id="item4">
+      <caption class="Unnumbered">FoXYZurth table</caption>
+    </table>
     <p>
       First ref: Table
       <a href="#item1">1</a>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/refTitle-table04-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-table04-expected.html b/Editor/tests/outline/refTitle-table04-expected.html
index fd0ae9d..9d59ed2 100644
--- a/Editor/tests/outline/refTitle-table04-expected.html
+++ b/Editor/tests/outline/refTitle-table04-expected.html
@@ -9,10 +9,18 @@ Tables:
   <head>
   </head>
   <body>
-    <table id="item1"><caption>Fit table</caption></table>
-    <table id="item2"><caption>Send table</caption></table>
-    <table id="item3"><caption class="Unnumbered">Thd table</caption></table>
-    <table id="item4"><caption class="Unnumbered">Foth table</caption></table>
+    <table id="item1">
+      <caption>Fit table</caption>
+    </table>
+    <table id="item2">
+      <caption>Send table</caption>
+    </table>
+    <table id="item3">
+      <caption class="Unnumbered">Thd table</caption>
+    </table>
+    <table id="item4">
+      <caption class="Unnumbered">Foth table</caption>
+    </table>
     <p>
       First ref: Table
       <a href="#item1">1</a>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/refTitle-table05-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-table05-expected.html b/Editor/tests/outline/refTitle-table05-expected.html
index 0dd3e31..6aff79a 100644
--- a/Editor/tests/outline/refTitle-table05-expected.html
+++ b/Editor/tests/outline/refTitle-table05-expected.html
@@ -9,10 +9,18 @@ Tables:
   <head>
   </head>
   <body>
-    <table id="item1"><caption>Table A</caption></table>
-    <table id="item2"><caption>Table B</caption></table>
-    <table id="item3"><caption class="Unnumbered">Table C</caption></table>
-    <table id="item4"><caption class="Unnumbered">Table D</caption></table>
+    <table id="item1">
+      <caption>Table A</caption>
+    </table>
+    <table id="item2">
+      <caption>Table B</caption>
+    </table>
+    <table id="item3">
+      <caption class="Unnumbered">Table C</caption>
+    </table>
+    <table id="item4">
+      <caption class="Unnumbered">Table D</caption>
+    </table>
     <p>
       First ref: Table
       <a href="#item1">1</a>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/refTitle-table06-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-table06-expected.html b/Editor/tests/outline/refTitle-table06-expected.html
index b67c018..08b25ff 100644
--- a/Editor/tests/outline/refTitle-table06-expected.html
+++ b/Editor/tests/outline/refTitle-table06-expected.html
@@ -9,10 +9,18 @@ Tables:
   <head>
   </head>
   <body>
-    <table id="item1"><caption>First table</caption></table>
-    <table id="item2"><caption class="Unnumbered">Second table</caption></table>
-    <table id="item3"><caption class="Unnumbered">Third table</caption></table>
-    <table id="item4"><caption class="Unnumbered">Fourth table</caption></table>
+    <table id="item1">
+      <caption>First table</caption>
+    </table>
+    <table id="item2">
+      <caption class="Unnumbered">Second table</caption>
+    </table>
+    <table id="item3">
+      <caption class="Unnumbered">Third table</caption>
+    </table>
+    <table id="item4">
+      <caption class="Unnumbered">Fourth table</caption>
+    </table>
     <p>
       First ref: Table
       <a href="#item1">1</a>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/refTitle-table07-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refTitle-table07-expected.html b/Editor/tests/outline/refTitle-table07-expected.html
index d9f00d0..5458f4e 100644
--- a/Editor/tests/outline/refTitle-table07-expected.html
+++ b/Editor/tests/outline/refTitle-table07-expected.html
@@ -9,10 +9,18 @@ Tables:
   <head>
   </head>
   <body>
-    <table id="item1"><caption>First table</caption></table>
-    <table id="item2"><caption>Second table</caption></table>
-    <table id="item3"><caption>Third table</caption></table>
-    <table id="item4"><caption class="Unnumbered">Fourth table</caption></table>
+    <table id="item1">
+      <caption>First table</caption>
+    </table>
+    <table id="item2">
+      <caption>Second table</caption>
+    </table>
+    <table id="item3">
+      <caption>Third table</caption>
+    </table>
+    <table id="item4">
+      <caption class="Unnumbered">Fourth table</caption>
+    </table>
     <p>
       First ref: Table
       <a href="#item1">1</a>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/reference-insert02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-insert02-expected.html b/Editor/tests/outline/reference-insert02-expected.html
index 5a49ca9..d24c302 100644
--- a/Editor/tests/outline/reference-insert02-expected.html
+++ b/Editor/tests/outline/reference-insert02-expected.html
@@ -2,9 +2,15 @@
   <head>
   </head>
   <body>
-    <figure id="one"><figcaption></figcaption></figure>
-    <figure id="two"><figcaption></figcaption></figure>
-    <figure id="three"><figcaption></figcaption></figure>
+    <figure id="one">
+      <figcaption></figcaption>
+    </figure>
+    <figure id="two">
+      <figcaption></figcaption>
+    </figure>
+    <figure id="three">
+      <figcaption></figcaption>
+    </figure>
     <a href="#one">1</a>
     <a href="#two">2</a>
     <a href="#three">3</a>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/reference-insert03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-insert03-expected.html b/Editor/tests/outline/reference-insert03-expected.html
index 830beb2..a1db37e 100644
--- a/Editor/tests/outline/reference-insert03-expected.html
+++ b/Editor/tests/outline/reference-insert03-expected.html
@@ -2,9 +2,15 @@
   <head>
   </head>
   <body>
-    <table id="one"><caption></caption></table>
-    <table id="two"><caption></caption></table>
-    <table id="three"><caption></caption></table>
+    <table id="one">
+      <caption></caption>
+    </table>
+    <table id="two">
+      <caption></caption>
+    </table>
+    <table id="three">
+      <caption></caption>
+    </table>
     <a href="#one">1</a>
     <a href="#two">2</a>
     <a href="#three">3</a>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/reference-static02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-static02-expected.html b/Editor/tests/outline/reference-static02-expected.html
index acac09d..bba4355 100644
--- a/Editor/tests/outline/reference-static02-expected.html
+++ b/Editor/tests/outline/reference-static02-expected.html
@@ -14,9 +14,15 @@
       Reference
       <a href="#three">3</a>
     </p>
-    <figure id="one"><figcaption></figcaption></figure>
-    <figure id="two"><figcaption></figcaption></figure>
-    <figure id="three"><figcaption></figcaption></figure>
+    <figure id="one">
+      <figcaption></figcaption>
+    </figure>
+    <figure id="two">
+      <figcaption></figcaption>
+    </figure>
+    <figure id="three">
+      <figcaption></figcaption>
+    </figure>
     <p>
       Reference
       <a href="#one">1</a>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/reference-static03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-static03-expected.html b/Editor/tests/outline/reference-static03-expected.html
index 28ec138..b2638e6 100644
--- a/Editor/tests/outline/reference-static03-expected.html
+++ b/Editor/tests/outline/reference-static03-expected.html
@@ -14,9 +14,15 @@
       Reference
       <a href="#three">3</a>
     </p>
-    <table id="one"><caption></caption></table>
-    <table id="two"><caption></caption></table>
-    <table id="three"><caption></caption></table>
+    <table id="one">
+      <caption></caption>
+    </table>
+    <table id="two">
+      <caption></caption>
+    </table>
+    <table id="three">
+      <caption></caption>
+    </table>
     <p>
       Reference
       <a href="#one">1</a>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/reference-update02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-update02-expected.html b/Editor/tests/outline/reference-update02-expected.html
index 7c88754..92d5bf3 100644
--- a/Editor/tests/outline/reference-update02-expected.html
+++ b/Editor/tests/outline/reference-update02-expected.html
@@ -14,10 +14,18 @@
       Reference
       <a href="#three">4</a>
     </p>
-    <figure id="one"><figcaption></figcaption></figure>
-    <figure id="item1"><figcaption></figcaption></figure>
-    <figure id="two"><figcaption></figcaption></figure>
-    <figure id="three"><figcaption></figcaption></figure>
+    <figure id="one">
+      <figcaption></figcaption>
+    </figure>
+    <figure id="item1">
+      <figcaption></figcaption>
+    </figure>
+    <figure id="two">
+      <figcaption></figcaption>
+    </figure>
+    <figure id="three">
+      <figcaption></figcaption>
+    </figure>
     <p>
       Reference
       <a href="#one">1</a>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/reference-update03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference-update03-expected.html b/Editor/tests/outline/reference-update03-expected.html
index f2826cc..ec4edae 100644
--- a/Editor/tests/outline/reference-update03-expected.html
+++ b/Editor/tests/outline/reference-update03-expected.html
@@ -14,10 +14,18 @@
       Reference
       <a href="#three">4</a>
     </p>
-    <table id="one"><caption></caption></table>
-    <table id="item1"><caption></caption></table>
-    <table id="two"><caption></caption></table>
-    <table id="three"><caption></caption></table>
+    <table id="one">
+      <caption></caption>
+    </table>
+    <table id="item1">
+      <caption></caption>
+    </table>
+    <table id="two">
+      <caption></caption>
+    </table>
+    <table id="three">
+      <caption></caption>
+    </table>
     <p>
       Reference
       <a href="#one">1</a>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/reference01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/reference01-expected.html b/Editor/tests/outline/reference01-expected.html
index f3d96e1..fd32c84 100644
--- a/Editor/tests/outline/reference01-expected.html
+++ b/Editor/tests/outline/reference01-expected.html
@@ -7,8 +7,12 @@
   </head>
   <body>
     <h1 id="item3">New section</h1>
-    <figure id="item2"><figcaption/></figure>
-    <table id="item1"><caption/></table>
+    <figure id="item2">
+      <figcaption/>
+    </figure>
+    <table id="item1">
+      <caption/>
+    </table>
     <p>
       Dynamically added reference:
       <a href="#hb">2.1</a>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/refsById01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/refsById01-expected.html b/Editor/tests/outline/refsById01-expected.html
index 58a0237..6df1b7d 100644
--- a/Editor/tests/outline/refsById01-expected.html
+++ b/Editor/tests/outline/refsById01-expected.html
@@ -1,4 +1,6 @@
 <html>
   <head></head>
-  <body><h1 id="item2">Second section</h1></body>
+  <body>
+    <h1 id="item2">Second section</h1>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/setNumbered-figure02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/setNumbered-figure02-expected.html b/Editor/tests/outline/setNumbered-figure02-expected.html
index bd75cbf..3760ea8 100644
--- a/Editor/tests/outline/setNumbered-figure02-expected.html
+++ b/Editor/tests/outline/setNumbered-figure02-expected.html
@@ -1,4 +1,8 @@
 <html>
   <head></head>
-  <body><figure id="item1"><img src="../figures/nothing.png" width="25%"/></figure></body>
+  <body>
+    <figure id="item1">
+      <img src="../figures/nothing.png" width="25%"/>
+    </figure>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/tableOfContents10-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents10-expected.html b/Editor/tests/outline/tableOfContents10-expected.html
index 0be3e97..3d005dc 100644
--- a/Editor/tests/outline/tableOfContents10-expected.html
+++ b/Editor/tests/outline/tableOfContents10-expected.html
@@ -2,5 +2,9 @@
   <head>
     <link href="../generic.css" rel="stylesheet"/>
   </head>
-  <body><nav class="tableofcontents"><p class="toc1">[No sections defined]</p></nav></body>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1">[No sections defined]</p>
+    </nav>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/tableOfContents11-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tableOfContents11-expected.html b/Editor/tests/outline/tableOfContents11-expected.html
index fd80db1..5ef310b 100644
--- a/Editor/tests/outline/tableOfContents11-expected.html
+++ b/Editor/tests/outline/tableOfContents11-expected.html
@@ -4,5 +4,9 @@
     <style>
     </style>
   </head>
-  <body><nav class="tableofcontents"><p class="toc1">[No sections defined]</p></nav></body>
+  <body>
+    <nav class="tableofcontents">
+      <p class="toc1">[No sections defined]</p>
+    </nav>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/tocInsert01-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tocInsert01-expected.html b/Editor/tests/outline/tocInsert01-expected.html
index 6ca1634..1c42cb7 100644
--- a/Editor/tests/outline/tocInsert01-expected.html
+++ b/Editor/tests/outline/tocInsert01-expected.html
@@ -29,13 +29,25 @@
     </figure>
     <table id="item1" style="width: 100%">
       <caption>Test table A</caption>
-      <colgroup><col width="100%"/></colgroup>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <colgroup>
+        <col width="100%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item2" style="width: 100%">
       <caption>Test table B</caption>
-      <colgroup><col width="100%"/></colgroup>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <colgroup>
+        <col width="100%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/tocInsert02-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tocInsert02-expected.html b/Editor/tests/outline/tocInsert02-expected.html
index 30ee06c..7a6dd77 100644
--- a/Editor/tests/outline/tocInsert02-expected.html
+++ b/Editor/tests/outline/tocInsert02-expected.html
@@ -31,13 +31,25 @@
     </figure>
     <table id="item1" style="width: 100%">
       <caption>Test table A</caption>
-      <colgroup><col width="100%"/></colgroup>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <colgroup>
+        <col width="100%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item2" style="width: 100%">
       <caption>Test table B</caption>
-      <colgroup><col width="100%"/></colgroup>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <colgroup>
+        <col width="100%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/outline/tocInsert03-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/outline/tocInsert03-expected.html b/Editor/tests/outline/tocInsert03-expected.html
index c79557b..5b703f0 100644
--- a/Editor/tests/outline/tocInsert03-expected.html
+++ b/Editor/tests/outline/tocInsert03-expected.html
@@ -29,13 +29,25 @@
     </figure>
     <table id="item1" style="width: 100%">
       <caption>Test table A</caption>
-      <colgroup><col width="100%"/></colgroup>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <colgroup>
+        <col width="100%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
     <table id="item2" style="width: 100%">
       <caption>Test table B</caption>
-      <colgroup><col width="100%"/></colgroup>
-      <tbody><tr><td><p><br/></p></td></tr></tbody>
+      <colgroup>
+        <col width="100%"/>
+      </colgroup>
+      <tbody>
+        <tr>
+          <td><p><br/></p></td>
+        </tr>
+      </tbody>
     </table>
   </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-body01a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-body01a-expected.html b/Editor/tests/position/isValidCursorPosition-body01a-expected.html
index 0db0aa6..3c15d21 100644
--- a/Editor/tests/position/isValidCursorPosition-body01a-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-body01a-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body>.</body>
+  <body>
+    .
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-body01b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-body01b-expected.html b/Editor/tests/position/isValidCursorPosition-body01b-expected.html
index 0db0aa6..3c15d21 100644
--- a/Editor/tests/position/isValidCursorPosition-body01b-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-body01b-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body>.</body>
+  <body>
+    .
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-body01c-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-body01c-expected.html b/Editor/tests/position/isValidCursorPosition-body01c-expected.html
index 0db0aa6..3c15d21 100644
--- a/Editor/tests/position/isValidCursorPosition-body01c-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-body01c-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body>.</body>
+  <body>
+    .
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-body01d-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-body01d-expected.html b/Editor/tests/position/isValidCursorPosition-body01d-expected.html
index 0db0aa6..3c15d21 100644
--- a/Editor/tests/position/isValidCursorPosition-body01d-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-body01d-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body>.</body>
+  <body>
+    .
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-body01e-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-body01e-expected.html b/Editor/tests/position/isValidCursorPosition-body01e-expected.html
index 0db0aa6..3c15d21 100644
--- a/Editor/tests/position/isValidCursorPosition-body01e-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-body01e-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body>.</body>
+  <body>
+    .
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-body01f-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-body01f-expected.html b/Editor/tests/position/isValidCursorPosition-body01f-expected.html
index 0db0aa6..3c15d21 100644
--- a/Editor/tests/position/isValidCursorPosition-body01f-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-body01f-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body>.</body>
+  <body>
+    .
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-body01g-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-body01g-expected.html b/Editor/tests/position/isValidCursorPosition-body01g-expected.html
index 0db0aa6..3c15d21 100644
--- a/Editor/tests/position/isValidCursorPosition-body01g-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-body01g-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body>.</body>
+  <body>
+    .
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-heading01a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-heading01a-expected.html b/Editor/tests/position/isValidCursorPosition-heading01a-expected.html
index cfa70ac..89d566b 100644
--- a/Editor/tests/position/isValidCursorPosition-heading01a-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-heading01a-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><h1 id="item1">.O.n.e.</h1></body>
+  <body>
+    <h1 id="item1">.O.n.e.</h1>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-heading01b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-heading01b-expected.html b/Editor/tests/position/isValidCursorPosition-heading01b-expected.html
index cfa70ac..89d566b 100644
--- a/Editor/tests/position/isValidCursorPosition-heading01b-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-heading01b-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><h1 id="item1">.O.n.e.</h1></body>
+  <body>
+    <h1 id="item1">.O.n.e.</h1>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-heading01c-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-heading01c-expected.html b/Editor/tests/position/isValidCursorPosition-heading01c-expected.html
index cfa70ac..89d566b 100644
--- a/Editor/tests/position/isValidCursorPosition-heading01c-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-heading01c-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><h1 id="item1">.O.n.e.</h1></body>
+  <body>
+    <h1 id="item1">.O.n.e.</h1>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline05a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline05a-expected.html b/Editor/tests/position/isValidCursorPosition-inline05a-expected.html
index fc82311..9dcdd98 100644
--- a/Editor/tests/position/isValidCursorPosition-inline05a-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline05a-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b>.o.n.e.</b></p></body>
+  <body>
+    <p><b>.o.n.e.</b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline05b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline05b-expected.html b/Editor/tests/position/isValidCursorPosition-inline05b-expected.html
index fc82311..9dcdd98 100644
--- a/Editor/tests/position/isValidCursorPosition-inline05b-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline05b-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b>.o.n.e.</b></p></body>
+  <body>
+    <p><b>.o.n.e.</b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline05c-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline05c-expected.html b/Editor/tests/position/isValidCursorPosition-inline05c-expected.html
index fc82311..9dcdd98 100644
--- a/Editor/tests/position/isValidCursorPosition-inline05c-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline05c-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b>.o.n.e.</b></p></body>
+  <body>
+    <p><b>.o.n.e.</b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline05d-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline05d-expected.html b/Editor/tests/position/isValidCursorPosition-inline05d-expected.html
index fc82311..9dcdd98 100644
--- a/Editor/tests/position/isValidCursorPosition-inline05d-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline05d-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b>.o.n.e.</b></p></body>
+  <body>
+    <p><b>.o.n.e.</b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline05e-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline05e-expected.html b/Editor/tests/position/isValidCursorPosition-inline05e-expected.html
index fc82311..9dcdd98 100644
--- a/Editor/tests/position/isValidCursorPosition-inline05e-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline05e-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b>.o.n.e.</b></p></body>
+  <body>
+    <p><b>.o.n.e.</b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline05f-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline05f-expected.html b/Editor/tests/position/isValidCursorPosition-inline05f-expected.html
index fc82311..9dcdd98 100644
--- a/Editor/tests/position/isValidCursorPosition-inline05f-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline05f-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b>.o.n.e.</b></p></body>
+  <body>
+    <p><b>.o.n.e.</b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline05g-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline05g-expected.html b/Editor/tests/position/isValidCursorPosition-inline05g-expected.html
index fc82311..9dcdd98 100644
--- a/Editor/tests/position/isValidCursorPosition-inline05g-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline05g-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b>.o.n.e.</b></p></body>
+  <body>
+    <p><b>.o.n.e.</b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline06a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline06a-expected.html b/Editor/tests/position/isValidCursorPosition-inline06a-expected.html
index 5ef0933..80dfe2f 100644
--- a/Editor/tests/position/isValidCursorPosition-inline06a-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline06a-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b><i><u>.o.n.e.</u></i></b></p></body>
+  <body>
+    <p><b><i><u>.o.n.e.</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline06b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline06b-expected.html b/Editor/tests/position/isValidCursorPosition-inline06b-expected.html
index 5ef0933..80dfe2f 100644
--- a/Editor/tests/position/isValidCursorPosition-inline06b-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline06b-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b><i><u>.o.n.e.</u></i></b></p></body>
+  <body>
+    <p><b><i><u>.o.n.e.</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline06c-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline06c-expected.html b/Editor/tests/position/isValidCursorPosition-inline06c-expected.html
index 5ef0933..80dfe2f 100644
--- a/Editor/tests/position/isValidCursorPosition-inline06c-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline06c-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b><i><u>.o.n.e.</u></i></b></p></body>
+  <body>
+    <p><b><i><u>.o.n.e.</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline06d-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline06d-expected.html b/Editor/tests/position/isValidCursorPosition-inline06d-expected.html
index 5ef0933..80dfe2f 100644
--- a/Editor/tests/position/isValidCursorPosition-inline06d-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline06d-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b><i><u>.o.n.e.</u></i></b></p></body>
+  <body>
+    <p><b><i><u>.o.n.e.</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline06e-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline06e-expected.html b/Editor/tests/position/isValidCursorPosition-inline06e-expected.html
index 5ef0933..80dfe2f 100644
--- a/Editor/tests/position/isValidCursorPosition-inline06e-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline06e-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b><i><u>.o.n.e.</u></i></b></p></body>
+  <body>
+    <p><b><i><u>.o.n.e.</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline06f-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline06f-expected.html b/Editor/tests/position/isValidCursorPosition-inline06f-expected.html
index 5ef0933..80dfe2f 100644
--- a/Editor/tests/position/isValidCursorPosition-inline06f-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline06f-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b><i><u>.o.n.e.</u></i></b></p></body>
+  <body>
+    <p><b><i><u>.o.n.e.</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline06g-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline06g-expected.html b/Editor/tests/position/isValidCursorPosition-inline06g-expected.html
index 5ef0933..80dfe2f 100644
--- a/Editor/tests/position/isValidCursorPosition-inline06g-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline06g-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b><i><u>.o.n.e.</u></i></b></p></body>
+  <body>
+    <p><b><i><u>.o.n.e.</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline06h-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline06h-expected.html b/Editor/tests/position/isValidCursorPosition-inline06h-expected.html
index 5ef0933..80dfe2f 100644
--- a/Editor/tests/position/isValidCursorPosition-inline06h-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline06h-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b><i><u>.o.n.e.</u></i></b></p></body>
+  <body>
+    <p><b><i><u>.o.n.e.</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline06i-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline06i-expected.html b/Editor/tests/position/isValidCursorPosition-inline06i-expected.html
index 5ef0933..80dfe2f 100644
--- a/Editor/tests/position/isValidCursorPosition-inline06i-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline06i-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b><i><u>.o.n.e.</u></i></b></p></body>
+  <body>
+    <p><b><i><u>.o.n.e.</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline06j-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline06j-expected.html b/Editor/tests/position/isValidCursorPosition-inline06j-expected.html
index 5ef0933..80dfe2f 100644
--- a/Editor/tests/position/isValidCursorPosition-inline06j-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline06j-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b><i><u>.o.n.e.</u></i></b></p></body>
+  <body>
+    <p><b><i><u>.o.n.e.</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline06k-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline06k-expected.html b/Editor/tests/position/isValidCursorPosition-inline06k-expected.html
index 5ef0933..80dfe2f 100644
--- a/Editor/tests/position/isValidCursorPosition-inline06k-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline06k-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b><i><u>.o.n.e.</u></i></b></p></body>
+  <body>
+    <p><b><i><u>.o.n.e.</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline07a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline07a-expected.html b/Editor/tests/position/isValidCursorPosition-inline07a-expected.html
index 93d9915..10a0e17 100644
--- a/Editor/tests/position/isValidCursorPosition-inline07a-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline07a-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b>.</b></p></body>
+  <body>
+    <p><b>.</b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline07b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline07b-expected.html b/Editor/tests/position/isValidCursorPosition-inline07b-expected.html
index 93d9915..10a0e17 100644
--- a/Editor/tests/position/isValidCursorPosition-inline07b-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline07b-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b>.</b></p></body>
+  <body>
+    <p><b>.</b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline07c-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline07c-expected.html b/Editor/tests/position/isValidCursorPosition-inline07c-expected.html
index 93d9915..10a0e17 100644
--- a/Editor/tests/position/isValidCursorPosition-inline07c-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline07c-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b>.</b></p></body>
+  <body>
+    <p><b>.</b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline07d-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline07d-expected.html b/Editor/tests/position/isValidCursorPosition-inline07d-expected.html
index 93d9915..10a0e17 100644
--- a/Editor/tests/position/isValidCursorPosition-inline07d-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline07d-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b>.</b></p></body>
+  <body>
+    <p><b>.</b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline07e-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline07e-expected.html b/Editor/tests/position/isValidCursorPosition-inline07e-expected.html
index 93d9915..10a0e17 100644
--- a/Editor/tests/position/isValidCursorPosition-inline07e-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline07e-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b>.</b></p></body>
+  <body>
+    <p><b>.</b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline07f-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline07f-expected.html b/Editor/tests/position/isValidCursorPosition-inline07f-expected.html
index 93d9915..10a0e17 100644
--- a/Editor/tests/position/isValidCursorPosition-inline07f-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline07f-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b>.</b></p></body>
+  <body>
+    <p><b>.</b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline07g-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline07g-expected.html b/Editor/tests/position/isValidCursorPosition-inline07g-expected.html
index 93d9915..10a0e17 100644
--- a/Editor/tests/position/isValidCursorPosition-inline07g-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline07g-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b>.</b></p></body>
+  <body>
+    <p><b>.</b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline08a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline08a-expected.html b/Editor/tests/position/isValidCursorPosition-inline08a-expected.html
index 6a6ff8e..b07b5c9 100644
--- a/Editor/tests/position/isValidCursorPosition-inline08a-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline08a-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b><i><u>.</u></i></b></p></body>
+  <body>
+    <p><b><i><u>.</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline08b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline08b-expected.html b/Editor/tests/position/isValidCursorPosition-inline08b-expected.html
index 6a6ff8e..b07b5c9 100644
--- a/Editor/tests/position/isValidCursorPosition-inline08b-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline08b-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b><i><u>.</u></i></b></p></body>
+  <body>
+    <p><b><i><u>.</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline08c-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline08c-expected.html b/Editor/tests/position/isValidCursorPosition-inline08c-expected.html
index 6a6ff8e..b07b5c9 100644
--- a/Editor/tests/position/isValidCursorPosition-inline08c-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline08c-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b><i><u>.</u></i></b></p></body>
+  <body>
+    <p><b><i><u>.</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline08d-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline08d-expected.html b/Editor/tests/position/isValidCursorPosition-inline08d-expected.html
index 6a6ff8e..b07b5c9 100644
--- a/Editor/tests/position/isValidCursorPosition-inline08d-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline08d-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b><i><u>.</u></i></b></p></body>
+  <body>
+    <p><b><i><u>.</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline08e-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline08e-expected.html b/Editor/tests/position/isValidCursorPosition-inline08e-expected.html
index 6a6ff8e..b07b5c9 100644
--- a/Editor/tests/position/isValidCursorPosition-inline08e-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline08e-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b><i><u>.</u></i></b></p></body>
+  <body>
+    <p><b><i><u>.</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline08f-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline08f-expected.html b/Editor/tests/position/isValidCursorPosition-inline08f-expected.html
index 6a6ff8e..b07b5c9 100644
--- a/Editor/tests/position/isValidCursorPosition-inline08f-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline08f-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b><i><u>.</u></i></b></p></body>
+  <body>
+    <p><b><i><u>.</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline08g-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline08g-expected.html b/Editor/tests/position/isValidCursorPosition-inline08g-expected.html
index 6a6ff8e..b07b5c9 100644
--- a/Editor/tests/position/isValidCursorPosition-inline08g-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline08g-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b><i><u>.</u></i></b></p></body>
+  <body>
+    <p><b><i><u>.</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline08h-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline08h-expected.html b/Editor/tests/position/isValidCursorPosition-inline08h-expected.html
index 6a6ff8e..b07b5c9 100644
--- a/Editor/tests/position/isValidCursorPosition-inline08h-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline08h-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b><i><u>.</u></i></b></p></body>
+  <body>
+    <p><b><i><u>.</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline08i-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline08i-expected.html b/Editor/tests/position/isValidCursorPosition-inline08i-expected.html
index 6a6ff8e..b07b5c9 100644
--- a/Editor/tests/position/isValidCursorPosition-inline08i-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline08i-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b><i><u>.</u></i></b></p></body>
+  <body>
+    <p><b><i><u>.</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline08j-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline08j-expected.html b/Editor/tests/position/isValidCursorPosition-inline08j-expected.html
index 6a6ff8e..b07b5c9 100644
--- a/Editor/tests/position/isValidCursorPosition-inline08j-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline08j-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b><i><u>.</u></i></b></p></body>
+  <body>
+    <p><b><i><u>.</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-inline08k-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-inline08k-expected.html b/Editor/tests/position/isValidCursorPosition-inline08k-expected.html
index 6a6ff8e..b07b5c9 100644
--- a/Editor/tests/position/isValidCursorPosition-inline08k-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-inline08k-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p><b><i><u>.</u></i></b></p></body>
+  <body>
+    <p><b><i><u>.</u></i></b></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-list05a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-list05a-expected.html b/Editor/tests/position/isValidCursorPosition-list05a-expected.html
index 21b859b..4dc8667 100644
--- a/Editor/tests/position/isValidCursorPosition-list05a-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-list05a-expected.html
@@ -1,5 +1,9 @@
 <html>
   <head>
   </head>
-  <body><ul><li>.</li></ul></body>
+  <body>
+    <ul>
+      <li>.</li>
+    </ul>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-list05b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-list05b-expected.html b/Editor/tests/position/isValidCursorPosition-list05b-expected.html
index 21b859b..4dc8667 100644
--- a/Editor/tests/position/isValidCursorPosition-list05b-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-list05b-expected.html
@@ -1,5 +1,9 @@
 <html>
   <head>
   </head>
-  <body><ul><li>.</li></ul></body>
+  <body>
+    <ul>
+      <li>.</li>
+    </ul>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-paragraph01a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-paragraph01a-expected.html b/Editor/tests/position/isValidCursorPosition-paragraph01a-expected.html
index 466a9a0..8e95516 100644
--- a/Editor/tests/position/isValidCursorPosition-paragraph01a-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-paragraph01a-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p>.o.n.e.</p></body>
+  <body>
+    <p>.o.n.e.</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-paragraph01b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-paragraph01b-expected.html b/Editor/tests/position/isValidCursorPosition-paragraph01b-expected.html
index 47d5423..f56b54e 100644
--- a/Editor/tests/position/isValidCursorPosition-paragraph01b-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-paragraph01b-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p>.o.n.e. .t.w.o.</p></body>
+  <body>
+    <p>.o.n.e. .t.w.o.</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-paragraph01c-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-paragraph01c-expected.html b/Editor/tests/position/isValidCursorPosition-paragraph01c-expected.html
index bf4c30d..ad4bb6b 100644
--- a/Editor/tests/position/isValidCursorPosition-paragraph01c-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-paragraph01c-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p>.o.n.e.   .t.w.o.</p></body>
+  <body>
+    <p>.o.n.e.   .t.w.o.</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-paragraph01d-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-paragraph01d-expected.html b/Editor/tests/position/isValidCursorPosition-paragraph01d-expected.html
index 47d5423..f56b54e 100644
--- a/Editor/tests/position/isValidCursorPosition-paragraph01d-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-paragraph01d-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p>.o.n.e. .t.w.o.</p></body>
+  <body>
+    <p>.o.n.e. .t.w.o.</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-paragraph01e-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-paragraph01e-expected.html b/Editor/tests/position/isValidCursorPosition-paragraph01e-expected.html
index bf4c30d..ad4bb6b 100644
--- a/Editor/tests/position/isValidCursorPosition-paragraph01e-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-paragraph01e-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p>.o.n.e.   .t.w.o.</p></body>
+  <body>
+    <p>.o.n.e.   .t.w.o.</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-paragraph03a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-paragraph03a-expected.html b/Editor/tests/position/isValidCursorPosition-paragraph03a-expected.html
index 8e173c5..8c272e1 100644
--- a/Editor/tests/position/isValidCursorPosition-paragraph03a-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-paragraph03a-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p>.</p></body>
+  <body>
+    <p>.</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-paragraph03b-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-paragraph03b-expected.html b/Editor/tests/position/isValidCursorPosition-paragraph03b-expected.html
index 8e173c5..8c272e1 100644
--- a/Editor/tests/position/isValidCursorPosition-paragraph03b-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-paragraph03b-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p>.</p></body>
+  <body>
+    <p>.</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-paragraph03c-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-paragraph03c-expected.html b/Editor/tests/position/isValidCursorPosition-paragraph03c-expected.html
index 8e173c5..8c272e1 100644
--- a/Editor/tests/position/isValidCursorPosition-paragraph03c-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-paragraph03c-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p>.</p></body>
+  <body>
+    <p>.</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-paragraph03d-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-paragraph03d-expected.html b/Editor/tests/position/isValidCursorPosition-paragraph03d-expected.html
index 8e173c5..8c272e1 100644
--- a/Editor/tests/position/isValidCursorPosition-paragraph03d-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-paragraph03d-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p>.</p></body>
+  <body>
+    <p>.</p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/fe097465/Editor/tests/position/isValidCursorPosition-paragraph04a-expected.html
----------------------------------------------------------------------
diff --git a/Editor/tests/position/isValidCursorPosition-paragraph04a-expected.html b/Editor/tests/position/isValidCursorPosition-paragraph04a-expected.html
index 466a9a0..8e95516 100644
--- a/Editor/tests/position/isValidCursorPosition-paragraph04a-expected.html
+++ b/Editor/tests/position/isValidCursorPosition-paragraph04a-expected.html
@@ -1,5 +1,7 @@
 <html>
   <head>
   </head>
-  <body><p>.o.n.e.</p></body>
+  <body>
+    <p>.o.n.e.</p>
+  </body>
 </html>