Merge pull request #4137 from FreeCodeCamp/fix/jobs-link

Fix job posting link should open in new tab
pull/4140/merge
Aniruddh Agarwal 2015-11-03 10:00:25 +08:00
commit 13ce0ccb40
1 changed files with 1 additions and 1 deletions

View File

@ -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>`;
});
}