Skip to content

Instantly share code, notes, and snippets.

@adelura
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adelura/7ab222cdb9f7d04877e6 to your computer and use it in GitHub Desktop.
Save adelura/7ab222cdb9f7d04877e6 to your computer and use it in GitHub Desktop.

Before fix

tests/plugins/list/backspace test backspace join list items (join_list15)

Expected:

<ul>
  <li><a href="#one">one</a><a href="#two">^two</a></li>
</ul>

Actual:

<ul>
  <li><a href="#one">one^</a><a href="#two">two</a></li>
</ul>

tests/plugins/list/backspace test backspace join list items (join_list16)

Expected

<ul>
  <li><a href="#one"><span>one</span></a><a href="#two">^two</a></li>
</ul>

Actual:

<ul>
  <li><a href="#one"><span>one^</span></a><a href="#two">two</a></li>
</ul>

tests/plugins/list/backspace test backspace join list items (join_list18)

Expected

<ul>
  <li><b>xxx</b><em>^yyy</em></li>
</ul>

Actual:

<ul>
  <li><b>xxx^</b><em>yyy</em></li>
</ul>

After fix

####tests/plugins/list/backspace test del join list items (join_list9_del) Expected:

<ol>
  <li>1^1.1(<br />)?<ol><li>1.1.1</li><li>1.2</li></ol></li>
</ol>

Actual:

<ol>
  <li>11.1^<br /><ol><li>1.1.1</li><li>1.2</li></ol></li>
</ol>

tests/plugins/list/backspace test del join list items (join_list12_del)

Expected:

<ol>
  <li><p>1^2.1</p><ol><li>2.2</li></ol></li>
</ol>

Actual:

<ol>
  <li><p>12.1^</p><ol><li>2.2</li></ol></li>
</ol>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment