It would be something like:
<button name=“abutton” hx-target=“#viewport”>button text</button>
Most cf parsers hose everything after the hashtag text. Issue I think most parsers don’t detect that the single hash is inside of a valid cf output tag (whatever it is, cfloop, cfoutput, etc). They just see a single hashtag inside a quote in HTML and assume it is supposed to be a CFML variable