Skip to content

Commit e6f773f

Browse files
committed
fix typo: 'mailto:' protocol not 'mailto'
1 parent d588595 commit e6f773f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/svg_text_utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ var TAG_STYLES = {
221221
em: 'font-style:italic;font-weight:bold'
222222
};
223223

224-
var PROTOCOLS = ['http:', 'https:', 'mailto'];
224+
var PROTOCOLS = ['http:', 'https:', 'mailto:'];
225225

226226
var STRIP_TAGS = new RegExp('</?(' + Object.keys(TAG_STYLES).join('|') + ')( [^>]*)?/?>', 'g');
227227

0 commit comments

Comments
 (0)