I can see this functionality in a Queue Properties –> Item Display –> Render Template
It doesn’t formally have the Allow HTML button but you can still have the functionality either way. Like you showed above, if you put it all in one line, it’ll work all in one line. If you break it up, it’ll break it up. I’ll set up an enhancement request to add this.