FIX: html syntax for arrow

This commit is contained in:
Sebastian Mark 2020-08-06 09:12:59 +02:00
parent e95fa6e15a
commit 1cf7484c64

View file

@ -90,7 +90,7 @@ Module.register("MMM-covid19", {
} else if (currentToLastWeekDiff > 0) {
this.cases.trend = "<span class=warn>&nearr;</span>";
} else if (currentToLastWeekDiff == 0) {
this.cases.trend = "&#rarr;";
this.cases.trend = "&rarr;";
} else if (currentToLastWeekDiff < 0) {
this.cases.trend = "<span class=good>&searr;</span>";
}