Fix render_esi block + spaces corrections