Cut hanging single quote