[BUGFIX] Remove A-tags completely to keep selection order

Change-Id: Ia3a768734f3624a68f5ee52b84ec09033f288716
Resolves: #58838
Reviewed-on: https://review.typo3.org/30148
Reviewed-by: Jo Hasenau
Tested-by: Jo Hasenau