From e469a68155098e6b4a720359fdaa973f36347613 Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Thu, 3 Jul 2025 13:30:00 +0900 Subject: Stop tracking snippets in git It's not configuration, and I'm adding and changing them too frequently --- public/.local/share/dmenu/snippet/htmlEscape.js | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 public/.local/share/dmenu/snippet/htmlEscape.js (limited to 'public/.local/share/dmenu/snippet/htmlEscape.js') diff --git a/public/.local/share/dmenu/snippet/htmlEscape.js b/public/.local/share/dmenu/snippet/htmlEscape.js deleted file mode 100644 index f4a3673..0000000 --- a/public/.local/share/dmenu/snippet/htmlEscape.js +++ /dev/null @@ -1,9 +0,0 @@ -/* https://stackoverflow.com/questions/7381974/which-characters-need-to-be-escaped-in-html#7382028 */ -function htmlEscape(text) { - return String(text) - .replaceAll("&", "&") - .replaceAll("<", "<") - .replaceAll(">", ">") - .replaceAll('"', """) - .replaceAll("'", "'"); -} -- cgit v1.2.3