]> git.sesse.net Git - vlc/commitdiff
Don't escape single quotes since it's not needed anymore
authorMarian Durkovic <md@videolan.org>
Mon, 4 Dec 2006 14:02:14 +0000 (14:02 +0000)
committerMarian Durkovic <md@videolan.org>
Mon, 4 Dec 2006 14:02:14 +0000 (14:02 +0000)
share/http/js/vlm.js

index c41692d61f700f6f770727526db3eb60da61dde9..daa3f2a5a4c4b4fcfa7d80035c42a8e7623f289a 100644 (file)
@@ -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()