Maybe (I'm not sure) you can wrap it in an iframe using srcdoc. Here is an example. Copy-paste it straight into a tiddler to see the result. (It is from QuickTid <http://quicktid.tiddlyspot.com/> where it is one of the pre-made seletable content snips).
<iframe sandbox seamless height="100%" style="width: 100%; border:0;" src="fallback.html" srcdoc=" Here you can insert <b>code</b> and it cannot be executed because it is inside an iframe that is sandboxed!<br> You can <i>style the content</i> within the srcdoc attribute using HTML or even a <span class='myStyle'>local style</span> block but you must <b>escape all quotes (use `"`) or single quotes and double-escape all ampersands (use `&amp;` for a single ampersand</b> <br> See more about iframes and srcdoc:<br> <a href="iframe"> http://www.w3schools.com/tags/att_iframe_sandbox.asp</a> <style>.myStyle {color:green; font-weight:bold;}</style> "></iframe> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/dfa5fb92-a431-4754-bea1-a9ed1c0fd998%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

