Skip to content

Commit

Permalink
Update titles to be escaped (#3228)
Browse files Browse the repository at this point in the history
* Update 1 translation file (#3202)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Update product title on predictive search

* add edit on more titles

* remove translation string update

---------

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>
  • Loading branch information
ludoboludo and translation-platform[bot] authored Feb 5, 2024
1 parent b82d852 commit 5c5b3f0
Show file tree
Hide file tree
Showing 4 changed files with 658 additions and 560 deletions.
2 changes: 1 addition & 1 deletion sections/collapsible-content.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<summary id="Summary-{{ block.id }}-{{ section.id }}">
{% render 'icon-accordion', icon: block.settings.icon %}
<h3 class="accordion__title inline-richtext h4">
{{ block.settings.heading | default: block.settings.page.title }}
{{ block.settings.heading | default: block.settings.page.title | escape }}
</h3>
{% render 'icon-caret' %}
</summary>
Expand Down
2 changes: 1 addition & 1 deletion sections/featured-collection.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
<a
href="{{ section.settings.collection.url }}"
class="{% if section.settings.view_all_style == 'link' %}link underlined-link{% elsif section.settings.view_all_style == 'solid' %}button{% else %}button button--secondary{% endif %}"
aria-label="{{ 'sections.featured_collection.view_all_label' | t: collection_name: section.settings.collection.title }}"
aria-label="{{ 'sections.featured_collection.view_all_label' | t: collection_name: section.settings.collection.title | escape }}"
>
{{ 'sections.featured_collection.view_all' | t }}
</a>
Expand Down
Loading

0 comments on commit 5c5b3f0

Please sign in to comment.