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
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
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
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
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
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