Re: [sage-support] Public worksheets

2012-07-25 Thread Javier López Peña
On Wednesday, July 25, 2012 4:11:28 PM UTC+1, Volker Braun wrote: > > Is it? > > > The html5lib sanitizer seems to handle that graciously: In [18]: import html5lib In [19]: from html5lib import sanitizer In [20]: p = html5lib.HTMLParser(toke

Re: [sage-support] Public worksheets

2012-07-25 Thread Volker Braun
On Wednesday, July 25, 2012 12:01:50 AM UTC-4, Jason Grout wrote: > > What is "definitely safe"? No executing javascript? That is easy. Is it? -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from t

Re: [sage-support] Public worksheets

2012-07-25 Thread Javier López Peña
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] wit

Re: [sage-support] Public worksheets

2012-07-24 Thread Jason Grout
On 7/24/12 7:20 PM, William Stein wrote: Somebody needs to write Python code that takes an input "html" and outputs "definitely safe html" What is "definitely safe"? No executing javascript? That is easy. Any other requirements? Thanks, Jason -- To post to this group, send email to sag

Re: [sage-support] Public worksheets

2012-07-24 Thread William Stein
On Tue, Jul 24, 2012 at 5:02 PM, Dan Aldrich wrote: > I know you've had problems w/ malicious user(s). How long will public > worksheets be disabled? Somebody needs to write Python code that takes an input "html" and outputs "definitely safe html", then run it on all published worksheets, and int

[sage-support] Public worksheets

2012-07-24 Thread Dan Aldrich
I know you've had problems w/ malicious user(s). How long will public worksheets be disabled? -d -- 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