Fixed parser logic to clear quotes buffer after put them into the contents.