如何保持短文本中的值“&”不变?

How to keep value "&" in Short text as it is?

在 Sitefinity 中,我将 & 设置为短文本字段中的值。然后该值更改为 &。我需要在短文本框类型中将值保持为 &

这是 Sitefinity 10.1 中的一个已知错误,请参阅this文章了解解决方法

简而言之,你应该:

Go to Administration >> Settings >> Advanced >> Data >> Data Processors >> XSS sanitizer and uncheck the "Enabled" checkbox. Keep in mind, that by this the sanitizing of the input is stopped. Also, the previously created items with an ampersand, will not automatically change to '&', and this should be done manually.