diff --git a/src/showdown.js b/src/showdown.js index 43920d9..9fdab9a 100644 --- a/src/showdown.js +++ b/src/showdown.js @@ -1129,6 +1129,9 @@ var _DoAutoLinks = function(text) { text = text.replace(/<((https?|ftp|dict):[^'">\s]+)>/gi,"$1"); + // Twitter: @twitter_username + text = text.replace(/\s@([-\w])/gi,"$1"); + // Email addresses:
/*