From 4fb490abfa22d698579c830f3b02747f377c35da Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Fri, 11 Feb 2022 17:24:21 +0100 Subject: [PATCH] fix rendering of html content in turn restriction editor --- modules/ui/fields/restrictions.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ui/fields/restrictions.js b/modules/ui/fields/restrictions.js index 8d6c59226..fa9f7deca 100644 --- a/modules/ui/fields/restrictions.js +++ b/modules/ui/fields/restrictions.js @@ -505,15 +505,15 @@ export function uiFieldRestrictions(field, context) { if (datum.no) { klass = 'restrict'; - turnText = t.html('restriction.help.turn.no_' + turnType, { indirect: indirect }); + turnText = t.html('restriction.help.turn.no_' + turnType, { indirect: { html: indirect } }); nextText = t.html('restriction.help.turn.only_' + turnType, { indirect: '' }); } else if (datum.only) { klass = 'only'; - turnText = t.html('restriction.help.turn.only_' + turnType, { indirect: indirect }); + turnText = t.html('restriction.help.turn.only_' + turnType, { indirect: { html: indirect } }); nextText = t.html('restriction.help.turn.allowed_' + turnType, { indirect: '' }); } else { klass = 'allow'; - turnText = t.html('restriction.help.turn.allowed_' + turnType, { indirect: indirect }); + turnText = t.html('restriction.help.turn.allowed_' + turnType, { indirect: { html: indirect } }); nextText = t.html('restriction.help.turn.no_' + turnType, { indirect: '' }); }