From c01cca33c7e7bc7b112d20a7b73a68abaa30691e Mon Sep 17 00:00:00 2001 From: Prikesh Savla Date: Tue, 9 Dec 2025 11:43:10 +0530 Subject: [PATCH] Fix encoding issue for Producer name to allow special characters in the text using ng-bind-html --- app/views/admin/order_cycles/_row.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/order_cycles/_row.html.haml b/app/views/admin/order_cycles/_row.html.haml index f331e4ca83..2019b0ddc3 100644 --- a/app/views/admin/order_cycles/_row.html.haml +++ b/app/views/admin/order_cycles/_row.html.haml @@ -18,7 +18,7 @@ %span{ "ofn-with-tip": '{{ orderCycle.producerNames }}', "ng-show": 'orderCycle.producers.length > 3' } {{ orderCycle.producers.length }} = t('.suppliers') - %span{ "ng-hide": 'orderCycle.producers.length > 3', "ng-bind": 'orderCycle.producerNames' } + %span{ "ng-hide": 'orderCycle.producers.length > 3', "ng-bind-html": 'orderCycle.producerNames' } %td.coordinator{ "ng-show": 'columns.coordinator.visible', "ng-bind-html": 'orderCycle.coordinator.name' } %td.shops{ "ng-show": 'columns.shops.visible' } %span{ "ofn-with-tip": '{{ orderCycle.shopNames }}', "ng-show": 'orderCycle.shops.length > 3' }