On Wednesday, July 25, 2012 1:20:24 AM UTC+1, William wrote: > > Somebody needs to write Python code that takes an input "html" and > outputs "definitely safe html", then run it on all published > worksheets, and integrate it with the notebook. >
There is a python html sanitizer in lxml [1] with plenty of customizable options (e.g. stripping scripts, special tags, css style annotations, blacklisting of html elements...) This might be enough for our needs. Cheers, J [1] http://lxml.de/lxmlhtml.html#cleaning-up-html -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org