Hi,
This script correctly generates the following HTML:
#foreach ($number in [1..320])
* hello $number
#end
<ul class="star">
<li>hello 1</li>
<li>hello 2</li>
[...]
<li>hello 319</li>
<li>hello 320</li>
</ul>
However this script generates the wrong html:
#foreach ($number in [1..321])
* hello $number
#end
<strong class="strong"> hello 1
</strong> hello 2
<strong class="strong"> hello 3
</strong> hello 4
[...]
<strong class="strong"> hello 319
</strong> hello 320
<strong class="strong"> hello 321<p class="paragraph"/>
Is this an XWiki problem?
Show replies by date