Skip to content

Commit fe3a05d

Browse files
authored
Only use accumulated text that is not empty ("")
1 parent 2399041 commit fe3a05d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ <h4>Computation steps</h4>
271271
<li id="step2B.ii.c">Append the <code>result</code>, with a space, to the <code>accumulated text</code>.</li>
272272
</ol>
273273
</li>
274-
<li id="step2B.iii">Return the <code>accumulated text</code>.</li>
274+
<li id="step2B.iii">Return the <code>accumulated text</code> if it is not the empty string ("").</li>
275275
</ol>
276276
</li>
277277
</ul>
@@ -350,7 +350,7 @@ <h4>Computation steps</h4>
350350
<li id="step2F.iii.c">Append the <code>result</code> to the <code>accumulated text</code>. </li>
351351
</ol>
352352
</li>
353-
<li id="step2F.iv">Return the <code>accumulated text</code>.</li>
353+
<li id="step2F.iv">Return the <code>accumulated text</code> if it is not the empty string ("").</li>
354354
</ol>
355355
<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>
356356
<div><details>

0 commit comments

Comments
 (0)