first version partially working with iframe (for all platforms)
[brisk.git] / web / Obj / brisk.phh
index d88eede..19e8cb0 100644 (file)
@@ -348,6 +348,15 @@ function webservers_check()
     return ($ct);
 }
 
+$escpush_from = array("\\", "\"");
+$escpush_to   = array("\\\\", "\\\"");
+function escpush($s)
+{
+    GLOBAL $escpush_from, $escpush_to;
+
+    return str_replace($escpush_from, $escpush_to, $s);
+}
+
 $escinp_from = array( "\""     );
 $escinp_to = array(   """ );