from the tiddler title, replacing any character invalid in a filename (like <>:"\/|?*^) with an underscore, just like the tiddler export button does.
Cheers,
Marcio.
If it would be possible to use something from the standard TW (as I am assuming the "export tiddler" button does), I would like to avoid adding something that would duplicate a function that already exists.
I looked at them. But they don't create the same kind of file name that the browser does when saving exports. In particular, they leave in ? and :, which have to be converted to _ (or something) for saving on Windows.
-- Mark
On Sunday, May 6, 2018 at 3:37:41 AM UTC-7, Mat wrote:On Saturday, May 5, 2018 at 6:24:49 PM UTC+2, Marcio Augusto wrote:If it would be possible to use something from the standard TW (as I am assuming the "export tiddler" button does), I would like to avoid adding something that would duplicate a function that already exists.There are the uriencode / uridecode filters. Maybe worth a look.<:-)
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
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/0c1e6466-9e11-44ff-b045-4e1f39749797%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.