There's nothing to stop anyone using BeautifulSoup or any other method to 
generate html content to write into the text field of a tiddler.  

I have previously used BS to write an html tiddler file for manual 
importing, but I assume that the import process 'normalises' the formatting 
in that case.  Because I was writing the to TW file directly, I avoided BS 
for the *wikiedit *function to make sure I reproduced the original 
formatting when writing the output.  

I haven't tried using BS to parse and then output a whole TW file.  It 
would be interesting to know whether it mangles it at all.  At the very 
least it would change all the layout, so it might look a bit unfamiliar to 
anyone looking through the source code.

N.



On Friday, 13 February 2015 16:24:39 UTC, Tobias Beer wrote:
>
> Maybe one day I will do python, for now I would just ask,
> shouldn't the *wikiedit* function also parse the wiki using beautifulsoup?
> I take it, you never use html within tiddlers.
>
> Best wishes, Tobias. 
>

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to