mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
use .text() to play it safe
This commit is contained in:
parent
da8d8a3ddb
commit
aadc861789
|
|
@ -491,7 +491,7 @@ WfmMetaPanel.prototype.update = function(data) {
|
||||||
}
|
}
|
||||||
$el.find('.rds-rtplus-programme').text(this.radiotext_plus.programme || '');
|
$el.find('.rds-rtplus-programme').text(this.radiotext_plus.programme || '');
|
||||||
$el.find('.rds-rtplus-news').empty().html(this.radiotext_plus.news.map(function(n){
|
$el.find('.rds-rtplus-news').empty().html(this.radiotext_plus.news.map(function(n){
|
||||||
return '<li>' + n + '</li>';
|
return $('<li>').text(n);
|
||||||
}));
|
}));
|
||||||
$el.find('.rds-rtplus-weather').text(this.radiotext_plus.weather || '');
|
$el.find('.rds-rtplus-weather').text(this.radiotext_plus.weather || '');
|
||||||
if (this.radiotext_plus.homepage) {
|
if (this.radiotext_plus.homepage) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue