diff --git a/Views/Vehicle/_GasCostByMonthReport.cshtml b/Views/Vehicle/_GasCostByMonthReport.cshtml index 7bbe2ee..3c23c43 100644 --- a/Views/Vehicle/_GasCostByMonthReport.cshtml +++ b/Views/Vehicle/_GasCostByMonthReport.cshtml @@ -16,7 +16,7 @@ var useDarkMode = getGlobalConfig().useDarkMode; @foreach (CostForVehicleByMonth gasCost in Model) { - @:barGraphLabels.push("@gasCost.MonthName"); + @:barGraphLabels.push(decodeHTMLEntities("@gasCost.MonthName")); @:barGraphData.push(globalParseFloat('@gasCost.Cost')); var index = sortedByMPG.FindIndex(x => x.MonthName == gasCost.MonthName); @:barGraphColors.push('@barGraphColors[index]'); diff --git a/Views/Vehicle/_MPGByMonthReport.cshtml b/Views/Vehicle/_MPGByMonthReport.cshtml index e0bf9e6..7725c88 100644 --- a/Views/Vehicle/_MPGByMonthReport.cshtml +++ b/Views/Vehicle/_MPGByMonthReport.cshtml @@ -17,7 +17,7 @@ var useDarkMode = getGlobalConfig().useDarkMode; @foreach (CostForVehicleByMonth gasCost in Model) { - @:barGraphLabels.push("@gasCost.MonthName"); + @:barGraphLabels.push(decodeHTMLEntities("@gasCost.MonthName")); @:barGraphData.push(globalParseFloat('@gasCost.Cost')); var index = sortedByMPG.FindIndex(x => x.MonthName == gasCost.MonthName); @:barGraphColors.push('@barGraphColors[index]');