KNL-1029 fix for allowing a range of valid link targets AND inserting _blank when links do NOT have a target (match legacy behavior)

git-svn-id: https://source.sakaiproject.org/svn/kernel/trunk@122080 66ffb92e-73f9-0310-93c1-f5514f145a0a