fix: escape quotes in components.html copyCode template literal
Changed escaped double quotes to single quotes inside Jinja template strings to prevent Alpine.js parsing error "Unexpected end of input". 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2207,8 +2207,8 @@ goToPage(n) { if (n !== '...' && n >= 1 && n <= this.totalPages) { this.paginati
|
||||
loading_var='scanning',
|
||||
icon='search'
|
||||
) %}
|
||||
{{ dropdown_item('Run All', 'runScan(\"all\"); scanDropdownOpen = false') }}
|
||||
{{ dropdown_item('Run Selected', 'runScan(\"selected\"); scanDropdownOpen = false') }}
|
||||
{{ dropdown_item('Run All', "runScan('all'); scanDropdownOpen = false") }}
|
||||
{{ dropdown_item('Run Selected', "runScan('selected'); scanDropdownOpen = false") }}
|
||||
{% endcall %}{% endraw %}`)" class="text-sm text-purple-600 hover:text-purple-700 dark:text-purple-400 flex items-center">
|
||||
<span x-html="$icon('duplicate', 'w-4 h-4 mr-1')"></span>
|
||||
Copy Code
|
||||
|
||||
Reference in New Issue
Block a user