Print HTML in Tinderbox $Text

Try using the entity codes. < and > – it works for me.

Your longer awk example can be handled the same way – use TextSoap or an online tool that will entity-encode text for you. Search for “HTML entity encode online” and several options will pop up.