But the <span class="text-danger"></span> is from your template, we don't use it.
For :
Code:
<span class="question-number"></span>
Code:
{if(!is_empty(QUESTION_NUMBER) or !is_empty(QUESTION_CODE),"<span class='qnumcode'>"+QUESTION_NUMBER+" "+QUESTION_CODE+"</span>","")}
It's not javascript : QUESTION_NUMBER and QUESTION_CODE are static value : then it's removed from HTML (if survey setings disable show).
Like the :
Code:
{if(!is_empty(QUESTION_MANDATORY),"<span class='asterisk'>"+QUESTION_MANDATORY+"</span>","")}
It's a template issue: not a LimeSUrvey issue : limesurvey just add *, nothing else.
We have a lot of problem elsewhere ... please : patch core