LimeSurvey version: Version 5.6.26+230613 Own server
==================
I want to add a list element within an unordered list using an if-statement. This does not seem to work. Other HTML Code within if-statements work fine so far:
<p>Title:</p>
<ul>
<li>List element 1</li>
<li>List element 2</li>
{if(TOKEN:ATTRIBUTE_1=="B",''<li>List element 3</li>,'')}
</ul>
Limesurvey auto adds list items to the code turning the above code to:
<p>Title:</p>
<ul>
<li>List element 1</li>
<li>List element 2</li> <li>{if(TOKEN:ATTRIBUTE_1=="B",''</li>
<li>List element 3</li> <li>,'')}</li>
</ul>
Does anyone know how to correctly add a list item within an unordered list via if-statement?
Thanks for your help,