We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd46c0f commit 877d6a3Copy full SHA for 877d6a3
sourcefiles/js/openwebif.js
@@ -764,7 +764,7 @@ function setOSD( statusinfo )
764
current_name = station;
765
766
if (station) {
767
- var stationA = station.replace(/'/g,"\\'");
+ var stationA = station.replace(/\\/g, '\\\\').replace(/'/g,"\\'");
768
var stream = "<div id='osdicon'>";
769
var streamtitle = tstr_stream + ": " + station + "'><i class='fa fa-desktop'></i></a>";
770
var streamtitletrans = tstr_stream + " (" + tstr_transcoded + "): " + station + "'><i class='fa fa-mobile'></i></a>";
0 commit comments