You appear to be a bot. Output may be restricted
Description
Reset literal JavaScript code that is now enclosed in pairs of double and single quotes "'js code'" Also convert escaped slashes back to normal slashes
Usage
$string = bw_allow_js( $parms );
Parameters
- $parms
- ( string ) required – the JSON encoded string we want to modify
Returns
string the 'improved' JSON string
Source
File name: oik/includes/bw_jquery.inc
Lines:
1 to 6 of 6
function bw_allow_js( $parms ) { $parms = str_replace( "\"'", "", $parms ); $parms = str_replace( "'\"", "", $parms ); $parms = str_replace( "\\/", "/", $parms ); return( $parms ); }