back to old behaviour: return null strings to avoid rendering empty html attributes