But its not right way you know,
User can enter there info according to there way, if I replace all \n then there data will be in single line, and its will look little odd.
And I didn’t understand why string type variable is not saving \n, is dgraph string is different from other database string.