diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0a1c469366..5f2015f8b7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -36,6 +36,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Added humidity support to nunjuck unit filter.
- Do not display degree symbol for temperature in Kelvin [#1503](https://github.com/MichMich/MagicMirror/issues/1503).
- Added fade, fadePoint and maxNumberOfDays properties to the forecast mode [#1516](https://github.com/MichMich/MagicMirror/issues/1516)
+- Fixed Loading string and decimalSymbol string replace [#1538](https://github.com/MichMich/MagicMirror/issues/1538)
## [2.6.0] - 2019-01-01
diff --git a/modules/default/weather/current.njk b/modules/default/weather/current.njk
index 55720e23e1..64d22e7bce 100644
--- a/modules/default/weather/current.njk
+++ b/modules/default/weather/current.njk
@@ -65,9 +65,9 @@
{% endif %}
{% else %}
- {{ "LOADING" | translate }}
+ {{ "LOADING" | translate | safe }}
{% endif %}
-
+
diff --git a/modules/default/weather/forecast.njk b/modules/default/weather/forecast.njk
index 315ebff82c..56074047c7 100644
--- a/modules/default/weather/forecast.njk
+++ b/modules/default/weather/forecast.njk
@@ -24,9 +24,9 @@
{% else %}
- {{ "LOADING" | translate }}
+ {{ "LOADING" | translate | safe }}
{% endif %}
-
+
diff --git a/modules/default/weather/weather.js b/modules/default/weather/weather.js
index 0c2304240a..f554c1fe2a 100644
--- a/modules/default/weather/weather.js
+++ b/modules/default/weather/weather.js
@@ -62,7 +62,7 @@ Module.register("weather",{
return ["font-awesome.css", "weather-icons.css", "weather.css"];
},
- // Return the scripts that are nessecery for the weather module.
+ // Return the scripts that are necessary for the weather module.
getScripts: function () {
return [
"moment.js",
@@ -218,7 +218,7 @@ Module.register("weather",{
}.bind(this));
this.nunjucksEnvironment().addFilter("decimalSymbol", function(value) {
- return value.replace(/\./g, this.config.decimalSymbol);
+ return value.toString().replace(/\./g, this.config.decimalSymbol);
}.bind(this));
this.nunjucksEnvironment().addFilter("calcNumSteps", function(forecast) {