You might want to look at BJ's Flexity plugin. This will let you use regular expressions to clean code. You'd need to display output as plain text and then copy and paste back to a new tiddler though as its NOT an import mechanism. But, as its name suggests, it has great flex as a general tool to change a Tiddler anyway you want.
http://flexibility.tiddlyspot.com/ Best wishes Josiah On Thursday, 2 November 2017 13:26:51 UTC+1, Paul Netsaver wrote: > > Hi, > I'm currently using TW for importing web pages, snippets, etc (but I'ld > like using it also as a CMS). > I'm searching a plugin for reducing and cleaning the original HTML source > code, something customizable, similar for instance to sanitizer.js. > Basically I need to: > - exclude all style attributes (except perhaps img size attributes) > - exclude all empty divs > - filter tags, attributes, classes based on whitelist / blacklist > Maybe something acting all over the tiddler content and > activated/deactivated by a proper toolbar button. > Does a similar plugin for TW exist? > It is possible to create it by using an available js library? > Thanks and regards > Paul Netsaver > Rome (IT) > > -- 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/472a8024-978d-4987-b6d5-55d8ef33edc0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

