Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Commit 380ffdb

Browse files
bpamiriclaude
andcommitted
Fix navbar toggler: wrap in cfoutput so ## renders as single #
The ## escape only works inside <cfoutput> blocks. Without it, data-bs-target renders as literal "##navbarSupportedContent" in the HTML, which Bootstrap can't match as a CSS selector. Wrapping in <cfoutput> makes ## render as "#navbarSupportedContent" correctly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 73048de commit 380ffdb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/views/layout.cfm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,11 +532,11 @@
532532
</div>
533533
</cfif>
534534
</div>
535-
<button class="navbar-toggler d-xl-none border-0" type="button" data-bs-toggle="collapse"
535+
<cfoutput><button class="navbar-toggler d-xl-none border-0" type="button" data-bs-toggle="collapse"
536536
data-bs-target="##navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
537537
aria-label="Toggle navigation">
538538
<span class="navbar-toggler-icon"></span>
539-
</button>
539+
</button></cfoutput>
540540
<div class="collapse navbar-collapse" id="navbarSupportedContent">
541541
<ul class="navbar-nav divide-x-primary ms-auto mb-2 mb-lg-0 align-items-center">
542542
<cfoutput>

0 commit comments

Comments
 (0)