From 3d50b55419a9a6243d9c49f31293db33b52fc078 Mon Sep 17 00:00:00 2001 From: ArtOfCode- Date: Tue, 8 Jun 2021 20:00:15 +0100 Subject: [PATCH] Replace all instances --- app/assets/javascripts/tags.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/tags.js b/app/assets/javascripts/tags.js index 50b5ea9ad..68a97fef0 100644 --- a/app/assets/javascripts/tags.js +++ b/app/assets/javascripts/tags.js @@ -55,7 +55,7 @@ $(() => { return { results: data.map(t => ({ id: useIds ? t.id : t.name, - text: t.name.replace('<', '<').replace('>', '>'), + text: t.name.replace(//g, '>'), desc: t.excerpt })) };