Skip to content

Commit bef8e91

Browse files
authored
Merge pull request #126 from Laravel-Backpack/fix-inner-single-slash
use escaped double-slash to avoid inner single slash
2 parents ca7f840 + 0082614 commit bef8e91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/Commands/CrudBackpackCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function handle()
4949

5050
// Create the sidebar item
5151
$this->call('backpack:add-sidebar-content', [
52-
'code' => "<li class='nav-item'><a class='nav-link' href='{{ backpack_url('$nameKebab') }}'><i class='nav-icon la la-question'></i> $namePlural</a></li>",
52+
'code' => "<li class=\"nav-item\"><a class=\"nav-link\" href=\"{{ backpack_url('$nameKebab') }}\"><i class=\"nav-icon la la-question\"></i> $namePlural</a></li>",
5353
]);
5454

5555
// if the application uses cached routes, we should rebuild the cache so the previous added route will

0 commit comments

Comments
 (0)