Skip to content

Commit 2cfde48

Browse files
sanitize -> sw_sanitize (#1715)
1 parent 40154f6 commit 2cfde48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/plugins/plugins/storefront/using-custom-fields-storefront.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Let's say you have a custom field for the customer entity through the administra
7676
{# custom field #}
7777
<div class="form-group col-sm-6">
7878
<label class="form-label" for="customFields[custom_field_name]">
79-
{{ "customFields.custom_field_name"|trans|sanitize}}*
79+
{{ "customFields.custom_field_name"|trans|sw_sanitize}}*
8080
</label>
8181
<input type="text" class="form-control" name="customFields[custom_field_name]" value="{{context.customer.customFields['custom_field_name'] }}" id="customFields[custom_field_name]" required="required">
8282
</div>

0 commit comments

Comments
 (0)