Content of empty tags changed from 'undefined' to ''