Commit eedd4e6b authored by Antoine Cellerier's avatar Antoine Cellerier

Fix quotes arround inputs like "fake: option fake-file=thing.png" which should...

Fix quotes arround inputs like "fake: option fake-file=thing.png" which should be "fake:" option "fake-file=thing.png"
parent 91996cce
...@@ -153,7 +153,7 @@ function vlm_schedule_type_change( name ) ...@@ -153,7 +153,7 @@ function vlm_schedule_type_change( name )
function sanitize_input( str ) function sanitize_input( str )
{ {
return str.replace( /\\/g, '\\\\').replace( /\'/g, '\\\'' ).replace( /\"/g, '\\\"' ).replace( /^/, '"' ).replace( /$/, '"' ); return str.replace( /\\/g, '\\\\').replace( /\'/g, '\\\'' ).replace( /\"/g, '\\\"' ).replace( /^/, '"' ).replace( /$/, '"' ).replace( /\ option\ /g, '" option "' );
} }
function update_vlm_add_broadcast() function update_vlm_add_broadcast()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment