[BUGFIX] Remove gaps in tree of New Record Wizard

Replacing line breaks with a div allows styling to be applied to
each line in the tree.

Change-Id: I1c89c9b6a9998185895a280564ccc95a224060eb
Resolves: #53652
Releases: 6.2
Reviewed-on: https://review.typo3.org/25475
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer