Skip to content
Snippets Groups Projects

Issue #3376462: Email addresses with multiple dots cause problem in link content

Closed Issue #3376462: Email addresses with multiple dots cause problem in link content
Closed mullzk requested to merge issue/spamspan-3376462:3.x into 3.x
4 files
+ 12
46
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 0
8
@@ -39,14 +39,6 @@
let _anchorContent = $("span.t", this).html();
if (_anchorContent) {
_anchorContent = _anchorContent.replace(/^ ?\(([^]*)\) ?$/, "$1");
// Find obfuscated emails in the anchor text and normalize it.
const emailPattern = /\b\w+at\w+dot\w+\b/g;
_anchorContent = _anchorContent.replace(
emailPattern,
function (match) {
return match.replace("at", "@").replace("dot", ".");
}
);
}
// Check if the "span.spamspan" holds any extra attributes from the
Loading