Encoded character breaks the custom editor template #7445
Labels
Bug
C: Scheduler
FP: Completed
Sync status with associated Feedback Item
S: Wrappers (ASP.NET Core)
SEV: Low
Milestone
Bug report
When the custom editor template of the Scheduler contains a label text with a special character, it is encoded automatically. If the encoding contains a hash literal (#), it throws a client-side error "Invalid template".
Reproduction of the problem
Create a Scheduler with a custom editor template.
Add a label for a specified Model property by using the @(Html.LabelFor(model => model)) configuration.
Add a label text with a special character as per the example below.
Expected/desired behavior
The hash literals in the encoded strings should be escaped automatically.
Environment
The text was updated successfully, but these errors were encountered: