adding nofollow to oustide links
str.indexOf to regex pattern to look for outside links
Precalculating before iterating, changing regex to be more robust, changing double quotes to single quotes around strings
Adding missing semicolon, fixing indentations
Fixing indentation
one last indent fix
Merge pull request #1 from Connexions/add-nofollow-to-outside-link

Add nofollow to outside link