Due to some Javascript actions to vars I got & instead of & in my var: So I tried this:
&
url_summer = \'http://192.168.0.2
Decode it like this:
var str = "http://192.168.0.20/menulb.php?w=chapter&if=If_menulb&p=521"; var div = document.createElement('div'); div.innerHTML = str var decoded = div.firstChild.nodeValue;