Skip to content

Commit

Permalink
[5.x] Add sanitization (#10656)
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean authored Aug 19, 2024
1 parent eefaff1 commit e513751
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion resources/views/collections/empty.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'url' => cp_route('collections.index'),
'title' => __('Collections')
])
<h1>{{ __($collection->title()) }}</h1>
<h1 v-pre>{{ __($collection->title()) }}</h1>
</header>

<div class="card p-4 content">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/forms/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
'title' => __('Forms')
])
<div class="flex items-center">
<h1 class="flex-1">
<h1 v-pre class="flex-1">
{{ __($form->title()) }}
</h1>

Expand Down
2 changes: 1 addition & 1 deletion resources/views/taxonomies/empty.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'url' => cp_route('taxonomies.index'),
'title' => __('Taxonomies')
])
<h1>{{ __($taxonomy->title()) }}</h1>
<h1 v-pre>{{ __($taxonomy->title()) }}</h1>
</header>

<div class="card p-4 content">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/taxonomies/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
'title' => __('Taxonomies')
])
<div class="flex items-center">
<h1 class="flex-1">{{ __($taxonomy->title()) }}</h1>
<h1 v-pre class="flex-1">{{ __($taxonomy->title()) }}</h1>

<dropdown-list class="rtl:ml-2 ltr:mr-2">
@can('edit', $taxonomy)
Expand Down
2 changes: 1 addition & 1 deletion resources/views/usergroups/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
'title' => __('User Groups')
])
<div class="flex items-center">
<h1 class="flex-1">{{ __($group->title()) }}</h1>
<h1 v-pre class="flex-1">{{ __($group->title()) }}</h1>
<dropdown-list class="rtl:ml-2 ltr:mr-2">
@can('edit', $group)
<dropdown-item :text="__('Edit User Group')" redirect="{{ $group->editUrl() }}"></dropdown-item>
Expand Down

0 comments on commit e513751

Please sign in to comment.