From e5d47d29ef9860e47156adc13877a788632dfec8 Mon Sep 17 00:00:00 2001 From: Marian Durkovic Date: Mon, 4 Dec 2006 14:02:14 +0000 Subject: [PATCH] Don't escape single quotes since it's not needed anymore --- share/http/js/vlm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/http/js/vlm.js b/share/http/js/vlm.js index c41692d61f..daa3f2a5a4 100644 --- a/share/http/js/vlm.js +++ b/share/http/js/vlm.js @@ -153,7 +153,7 @@ function vlm_schedule_type_change( name ) function sanitize_input( str ) { - return str.replace( /\'/g, '\\\'' ).replace( /\"/g, '\\\"' ).replace( /^/, '"' ).replace( /$/, '"' ).replace( /\ option\ /g, '" option "' ); + return str.replace( /\"/g, '\\\"' ).replace( /^/, '"' ).replace( /$/, '"' ).replace( /\ option\ /g, '" option "' ); } function update_vlm_add_broadcast() -- 2.39.2