This is because tiddlywiki automatically close any html tag you open in a tiddler. If you want to wrap the text field in a tag, you will need to either edit $:/core/ui/ViewTemplate/body or hide it and show a custom ViewTemplate instead.
Can I ask why you need to do that ? Le mardi 26 octobre 2021 à 20:34:19 UTC+2, Matt Savard a écrit : > To be more clear, I've tried creating two new tiddlers (HTMLStart and > HTMLEnd), one for the HTML before the body and one for the HTML after the > body. I've tagged these with $:/tags/ViewTemplate, then I rearranged them > so the do surround the tiddly body. But it doesn't like that they are HTML. > If I open and close a DIV in the HTMLStart tiddler, then it will display > correctly on every tiddler. Same goes for the HTMLEnd tiddler. But if I > open a tag in the HTMLStart tiddler and try to close it in the HTMLEnd, it > doesn't work correctly. > > On Tuesday, October 26, 2021 at 11:24:43 AM UTC-7 Matt Savard wrote: > >> Is there any way to wrap each tiddly body in HTML? For example, wrap each >> tiddler body in a div with a certain class applied. >> >> Thanks. >> Matt >> > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f2a9c8e4-af2e-48fe-81e4-408f5522aefcn%40googlegroups.com.

