@ -593,6 +593,7 @@ function htmlFormatMsg(msg, opt) {
varstopCharsRight='>'+whiteSpaces;
varstopCharsRight='>'+whiteSpaces;
varstopCharsRightHashtags='>/\\.,:;?!%\'"[](){}^|«»…\u201C\u201D\u2026\u2014\u4E00\u3002\uFF0C\uFF1A\uFF1F\uFF01\u3010\u3011\u2047\u2048\u2049'// same as stopCharsTrailing but without '*~_-`' plus '>'
varstopCharsRightHashtags='>/\\.,:;?!%\'"[](){}^|«»…\u201C\u201D\u2026\u2014\u4E00\u3002\uFF0C\uFF1A\uFF1F\uFF01\u3010\u3011\u2047\u2048\u2049'// same as stopCharsTrailing but without '*~_-`' plus '>'
+whiteSpaces;
+whiteSpaces;
varstopCharsRightHashtagsBase64=stopCharsRightHashtags.replace('/','').replace('+','')// exclude valid base64 chars used in shortened urls