mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-26 20:16:15 +08:00
Fixes #7451
This commit is contained in:
committed by
Sébastien Ros
parent
e35b71e1dc
commit
9f60edc7f5
@@ -163,8 +163,8 @@ namespace Orchard.DynamicForms.Drivers {
|
||||
|
||||
var projection = terms.Select(x => {
|
||||
var data = new {Content = x};
|
||||
var value = _tokenizer.Replace(valueExpression, data);
|
||||
var text = _tokenizer.Replace(textExpression, data);
|
||||
var value = _tokenizer.Replace(valueExpression, data, new ReplaceOptions { Encoding = ReplaceOptions.NoEncode });
|
||||
var text = _tokenizer.Replace(textExpression, data, new ReplaceOptions { Encoding = ReplaceOptions.NoEncode });
|
||||
|
||||
return new SelectListItem {
|
||||
Text = text,
|
||||
|
||||
Reference in New Issue
Block a user