Fix single quotes and new lines