--- a/tests.js Thu Aug 18 15:01:46 2011 -0600
+++ b/tests.js Thu Aug 18 15:05:30 2011 -0600
@@ -403,10 +403,27 @@
'<ol><li>foo</ol>[]bar',
'<ol><li>foo<br></ol>[]bar',
'<ol><li>foo<br><br></ol>[]bar',
-
'<ol><li><br></ol>[]bar',
'<ol><li>foo<li><br></ol>[]bar',
+ '<ol><li>foo</ol><p>[]bar',
+ '<ol><li>foo<br></ol><p>[]bar',
+ '<ol><li>foo<br><br></ol><p>[]bar',
+ '<ol><li><br></ol><p>[]bar',
+ '<ol><li>foo<li><br></ol><p>[]bar',
+
+ '<ol><li>foo</ol>{}<br>',
+ '<ol><li>foo<br></ol>{}<br>',
+ '<ol><li>foo<br><br></ol>{}<br>',
+ '<ol><li><br></ol>{}<br>',
+ '<ol><li>foo<li><br></ol>{}<br>',
+
+ '<ol><li>foo</ol><p>{}<br>',
+ '<ol><li>foo<br></ol><p>{}<br>',
+ '<ol><li>foo<br><br></ol><p>{}<br>',
+ '<ol><li><br></ol><p>{}<br>',
+ '<ol><li>foo<li><br></ol><p>{}<br>',
+
// Indented stuff with collapsed selection
'foo<blockquote>[]bar</blockquote>',
'foo<blockquote><blockquote>[]bar</blockquote></blockquote>',
@@ -1239,10 +1256,24 @@
'<ol><li>foo[]</ol>bar',
'<ol><li>foo[]<br></ol>bar',
-
'<ol><li>{}<br></ol>bar',
'<ol><li>foo<li>{}<br></ol>bar',
+ '<ol><li>foo[]</ol><p>bar',
+ '<ol><li>foo[]<br></ol><p>bar',
+ '<ol><li>{}<br></ol><p>bar',
+ '<ol><li>foo<li>{}<br></ol><p>bar',
+
+ '<ol><li>foo[]</ol><br>',
+ '<ol><li>foo[]<br></ol><br>',
+ '<ol><li>{}<br></ol><br>',
+ '<ol><li>foo<li>{}<br></ol><br>',
+
+ '<ol><li>foo[]</ol><p><br>',
+ '<ol><li>foo[]<br></ol><p><br>',
+ '<ol><li>{}<br></ol><p><br>',
+ '<ol><li>foo<li>{}<br></ol><p><br>',
+
// Indented stuff with collapsed selection
'foo[]<blockquote>bar</blockquote>',
'foo[]<blockquote><blockquote>bar</blockquote></blockquote>',