Skip to content

Commit

Permalink
Only use accumulated text that is not empty ("")
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperisager committed Feb 19, 2021
1 parent 2399041 commit fe3a05d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ <h4>Computation steps</h4>
<li id="step2B.ii.c">Append the <code>result</code>, with a space, to the <code>accumulated text</code>.</li>
</ol>
</li>
<li id="step2B.iii">Return the <code>accumulated text</code>.</li>
<li id="step2B.iii">Return the <code>accumulated text</code> if it is not the empty string ("").</li>
</ol>
</li>
</ul>
Expand Down Expand Up @@ -350,7 +350,7 @@ <h4>Computation steps</h4>
<li id="step2F.iii.c">Append the <code>result</code> to the <code>accumulated text</code>. </li>
</ol>
</li>
<li id="step2F.iv">Return the <code>accumulated text</code>.</li>
<li id="step2F.iv">Return the <code>accumulated text</code> if it is not the empty string ("").</li>
</ol>
<p><strong>Important</strong>: Each <a class="termref">node</a> in the subtree is consulted only once. If text has been collected from a descendant, but is referenced by another IDREF in some descendant node, then that second, or subsequent, reference is not followed. This is done to avoid infinite loops. </p>
<div><details>
Expand Down

0 comments on commit fe3a05d

Please sign in to comment.