When using commands to give an item with custom name and lore, the "\n" character is seen as a square, and no new line is created.
For example, when using the command
I get the item showed in the attached picture.
Note that I escaped the backslash at the \n, if I don't, I get an error when executing the command.
If this is working as intended, I would suggest a change, as lores are sometimes long.