tiddlyhost / tiddlyhost-com

Rails application for creating and hosting TiddlyWiki sites, plus resources for deploying it to https://tiddlyhost.com/
Other
188 stars 18 forks source link

An unclosed div element in $:/SplashScreen causes a 418 Invalid TiddlyWiki #311

Open simonbaird opened 1 year ago

simonbaird commented 1 year ago

Tiddlyhost does some parsing of the document on serve, and the unclosed div effectively means it can't find tiddlers in the place it expects them to be.

The TiddlyWiki file itself work fine, so Tiddlyhost is more sensitive to the resulting dom irregularities than TiddlyWiki itself.

Sites affected by this can't be downloaded in the usual, since the same dom parsing happens on download.

Some ideas:

Note that this same issue would apply to other tiddlers that insert content directly into the html file. I think $:/SpashScreen is not the only example.

simonbaird commented 1 year ago

Looks like anything tagged with $:/tags/RawMarkupWikified/TopBody is going to be similar.