Added code to split quotes