Skip to content

Commit e513751

Browse files
[5.x] Add sanitization (#10656)
1 parent eefaff1 commit e513751

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

resources/views/collections/empty.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'url' => cp_route('collections.index'),
1111
'title' => __('Collections')
1212
])
13-
<h1>{{ __($collection->title()) }}</h1>
13+
<h1 v-pre>{{ __($collection->title()) }}</h1>
1414
</header>
1515

1616
<div class="card p-4 content">

resources/views/forms/show.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
'title' => __('Forms')
1313
])
1414
<div class="flex items-center">
15-
<h1 class="flex-1">
15+
<h1 v-pre class="flex-1">
1616
{{ __($form->title()) }}
1717
</h1>
1818

resources/views/taxonomies/empty.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'url' => cp_route('taxonomies.index'),
1111
'title' => __('Taxonomies')
1212
])
13-
<h1>{{ __($taxonomy->title()) }}</h1>
13+
<h1 v-pre>{{ __($taxonomy->title()) }}</h1>
1414
</header>
1515

1616
<div class="card p-4 content">

resources/views/taxonomies/show.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
'title' => __('Taxonomies')
1313
])
1414
<div class="flex items-center">
15-
<h1 class="flex-1">{{ __($taxonomy->title()) }}</h1>
15+
<h1 v-pre class="flex-1">{{ __($taxonomy->title()) }}</h1>
1616

1717
<dropdown-list class="rtl:ml-2 ltr:mr-2">
1818
@can('edit', $taxonomy)

resources/views/usergroups/show.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
'title' => __('User Groups')
1313
])
1414
<div class="flex items-center">
15-
<h1 class="flex-1">{{ __($group->title()) }}</h1>
15+
<h1 v-pre class="flex-1">{{ __($group->title()) }}</h1>
1616
<dropdown-list class="rtl:ml-2 ltr:mr-2">
1717
@can('edit', $group)
1818
<dropdown-item :text="__('Edit User Group')" redirect="{{ $group->editUrl() }}"></dropdown-item>

0 commit comments

Comments
 (0)