From 00148d75f2570361688634ed2679eeae67263b3f Mon Sep 17 00:00:00 2001 From: deuce <> Date: Wed, 6 May 2015 02:17:44 +0000 Subject: [PATCH] Don't second-guess the presence of "&" in strings for XML encoding. --- exec/podcast.js | 1 - 1 file changed, 1 deletion(-) diff --git a/exec/podcast.js b/exec/podcast.js index 77cf6e5e70..159d2dbe7e 100644 --- a/exec/podcast.js +++ b/exec/podcast.js @@ -22,7 +22,6 @@ var item_type; function encode_xml(str) { - str=str.replace(/&/g, '&'); str=str.replace(/&/g, '&'); str=str.replace(/</g, '<'); str=str.replace(/>/g, '>'); -- GitLab