[BUGFIX] Split given string in url, target and class

Change-Id: I7b25ef08a6bc4ec27c8ef230f6ce1f514a46a375
Reviewed-on: https://review.typo3.org/22973
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer