Merge pull request #4137 from FreeCodeCamp/fix/jobs-link
Fix job posting link should open in new tabpull/4140/merge
commit
13ce0ccb40
|
@ -14,7 +14,7 @@ const thumbnailStyle = {
|
|||
|
||||
function addATags(text) {
|
||||
return text.replace(urlRegex, function(match) {
|
||||
return `<a href=${match}>${match}</a>`;
|
||||
return `<a href=${match} target='_blank'>${match}</a>`;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue