Break up @list/@set handling step for more clarity.
--- a/spec/latest/json-ld-api/index.html Tue Mar 05 00:36:17 2013 -0500
+++ b/spec/latest/json-ld-api/index.html Tue Mar 05 00:42:07 2013 -0500
@@ -1604,20 +1604,24 @@
</ol>
</li>
<li>Otherwise, if <em>expanded property</em> is <code>@list</code>
- or <code>@set</code>, initialize <em>expanded value</em> to the
- result of using this algorithm recursively passing
- <tref>active context</tref>, <tref>null</tref> for
- <tref>active property</tref> if <em>expanded property</em> is
- <code>@list</code> and <em>expanded active property</em> is
- <code>@graph</code> otherwise <tref>active property</tref>,
- <em>value</em> for <em>element</em>, and <tref>true</tref>
- for <em>insideList</em> if <em>expanded property</em> is
- <code>@list</code> otherwise <tref>false</tref>.
- If <em>expanded property</em> is <code>@list</code>
- then <em>expanded value</em> MUST NOT be a
- <tref>list object</tref>, otherwise a
- <code class="error"><a href="#idl-def-JsonLdErrorCode.list-of-lists">list of lists</a></code>
- error has been detected.</li>
+ or <code>@set</code>:
+ <ol class="algorithm">
+ <li>Initialize <em>expanded value</em> to the result of using
+ this algorithm recursively passing
+ <tref>active context</tref>, <tref>null</tref> for
+ <tref>active property</tref> if <em>expanded property</em>
+ is <code>@list</code> and <em>expanded active property</em>
+ is <code>@graph</code> otherwise <tref>active property</tref>,
+ <em>value</em> for <em>element</em>, and <tref>true</tref>
+ for <em>insideList</em> if <em>expanded property</em> is
+ <code>@list</code> otherwise <tref>false</tref>.</li>
+ <li>If <em>expanded property</em> is <code>@list</code>
+ then <em>expanded value</em> MUST NOT be a
+ <tref>list object</tref>, otherwise a
+ <code class="error"><a href="#idl-def-JsonLdErrorCode.list-of-lists">list of lists</a></code>
+ error has been detected.</li>
+ </ol>
+ </li>
<li>Otherwise, initialize <em>expanded value</em> to the result of
using this algorithm recursively, passing
<tref>active context</tref>, <em>key</em> for