Workspace Description wrecks content


#1

1 In workspace Description, enter:

for(var dt = t;dt.next().length,dt = dt.next();  	)
{
  d = d.addsecs(dt.data('duration'));
  
  dt.children('td:first').text(timeHM(d));
}

2 Click Save
3 View project Description.

Expected: Description intact
Observed: Description (mislabelled “Workspace info”) is wrecked:

Preview hangs due presumably to: for(var dt = t;dt.next().length,dt = dt.next(); ) { d = d.addsecs(dt.data('duration')); dt.children('td:first').text(timeHM(d)); }

(run to one line, characters changed)

4 Click gear icon

Expected: editable Description intact
Observed: editable Description differently wrecked:

Preview hangs due presumably to:

   for(var dt = t;dt.next().length,dt = dt.next();  	)
    {
      d = d.addsecs(dt.data('duration'));
      
      dt.children('td:first').text(timeHM(d));
    }

(characters changed).