diff --git a/src/ec/packages/ec-component-ordered-list/ecl-ordered-list.html.twig b/src/ec/packages/ec-component-ordered-list/ecl-ordered-list.html.twig index 3799282d4..df54076de 100644 --- a/src/ec/packages/ec-component-ordered-list/ecl-ordered-list.html.twig +++ b/src/ec/packages/ec-component-ordered-list/ecl-ordered-list.html.twig @@ -50,7 +50,7 @@ {% for _item in _items %} {% if _item is not empty %}
  • - {{- _item.label -}} + {{- _item.label|raw -}} {% if _item.nested is not empty and _item.nested is iterable %} {{- list.ordered_list(_item.nested) -}} {% endif -%} diff --git a/src/ec/packages/ec-component-unordered-list/__snapshots__/unordered-list.test.js.snap b/src/ec/packages/ec-component-unordered-list/__snapshots__/unordered-list.test.js.snap index 3c8d141fb..34b28166b 100644 --- a/src/ec/packages/ec-component-unordered-list/__snapshots__/unordered-list.test.js.snap +++ b/src/ec/packages/ec-component-unordered-list/__snapshots__/unordered-list.test.js.snap @@ -62,48 +62,88 @@ exports[`EC - Unordered list Default renders correctly with divider variant 1`]
  • - Jobs, growth and investment + + Jobs, growth and investment +
  • - Digital single market + + Digital single market +
  • - Energy union and climate + + Energy union and climate +
  • @@ -222,6 +262,101 @@ exports[`EC - Unordered list Default renders correctly with extra class names 1` `; +exports[`EC - Unordered list Default renders correctly with links 1`] = ` + +`; + exports[`EC - Unordered list Default renders correctly with no-bullet variant 1`] = `