Why quote formatting is not working?