view examples_to_py3k.sh @ 949:8bc6f32fdd45 trunk

Improve sanitizing of CSS in style attributes (note that the Genshi documentation already warns users that enabling the style attribute is dangerous -- now it is slightly less dangerous). Fixes #455. Patch taken from jomae's Trac commit trac:r10788 and modified for Genshi -- thanks!
author hodgestar
date Fri, 02 Sep 2011 22:01:42 +0000
parents d010a80ebb4f
children
line wrap: on
line source
#!/bin/sh
#
# Script to run 2to3 on files not covered by setup.py
#
export PYTHONIOENCODING=utf8

# General 2to3 run
2to3 -w --no-diffs examples/
Copyright (C) 2012-2017 Edgewall Software