Commit 447c3f0d0d07add2627e945c10652b34de56879c

Authored by perry.werneck@gmail.com
1 parent 99ed1802

Campos preenchidos com "_" passam a ser considerados vazios na exportação para html

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
html.c
... ... @@ -218,7 +218,7 @@
218 218 return;
219 219 }
220 220  
221   - for(pos = strlen(info->text)-1;pos > 0 && info->text[pos] == ' '; pos--)
  221 + for(pos = strlen(info->text)-1;pos > 0 && (info->text[pos] == ' ' || info->text[pos] == '_'); pos--)
222 222 info->text[pos] = 0;
223 223  
224 224 snprintf(buffer,80,"\" maxlength=\"%d\" class=\"IW%03d\"",info->maxlength,info->maxlength);
... ...