telerik / kendo-ui-core

An HTML5, jQuery-based widget library for building modern web apps.
http://www.telerik.com/kendo-ui
Other
2.54k stars 1.9k forks source link

Label HTML helper in the Scheduler Edit template does not render special characters #3949

Closed veselints closed 6 years ago

veselints commented 6 years ago

Bug report

Label HTML helper in the Scheduler Edit template does not render special characters. Instead, it displays their code number.

This is a regression bug introduced with R1 2018 release.

Reproduction of the problem

Insert the following helper on the Scheduler Edit template view: @(Html.LabelFor(model => model.Title, "Probe durchgeführt"))

When opening the edit form the above will be displayed as: <label for="Title">Probe durchgef&amp;\#252;hrt</label>

In the Scheduler Editor template it will be generated as: \u003clabel for=\"Title\"\u003eProbe durchgef\u0026\\\\\\#252;hrt\u003c/label\u003e

Environment

veselints commented 6 years ago

A workarownd would be to use the <label> element, instead of the HTML helper: <label for="Title">Probe durchgeführt</label>

zdravkov commented 6 years ago

The issue was introduced by this one so it needs to be retested too.