Forking glitch theme

This commit is contained in:
kibigo! committed 2017-11-17 19:29:16 -08:00
1 parent 5a9982b425
commit 45c44989c8
333 files changed
+1714 -4235

No files matched your search

@@ -1,9 +0,0 @@
import { urlRegex } from './url_regex';
const urlPlaceholder = 'xxxxxxxxxxxxxxxxxxxxxxx';
export function countableText(inputText) {
return inputText
.replace(urlRegex, urlPlaceholder)
.replace(/(^|[^\/\w])@(([a-z0-9_]+)@[a-z0-9\.\-]+[a-z0-9]+)/ig, '$1@$3');
};