Adding magic to PTL, Or: how to stop worrying about XSS holes
2002-10-01
Neil SchemenauerAdding magic to PTL, Or: how to stop worrying
about XSS holes
2002-10-01
Nicola LarosaAdding magic to PTL, Or: how to stop worrying about XSS holes
2002-10-01
Neil SchemenauerAdding magic to PTL, Or: how to stop worrying
about XSS holes
2002-10-02
Nicola Larosa2002-10-01
Greg Ward2002-10-01
Neil Schemenauer2002-10-01
Jonathan CorbetAdding magic to PTL, Or: how to stop worrying about XSS holes
Neil Schemenauer
On Tue, Oct 01, 2002 at 02:40:14PM -0400, Greg Ward wrote: > Is this general enough that it should be called 'Markup'? Or is this > specific to HTML/XHTML? Currently I have an abstract base class called 'Markup' and a subclass called 'HTMLMarkup'. There could also be a 'XMLMarkup' class but is would be the same as 'HTMLMarkup'. This could be an over-generalization. I can't think of any other examples of markup languages that have different quoting rules than HTML and that people might want to use in a PTL module. Can anyone else? > Note that doing this cheaply -- eg. use __slots__, subclass str -- would > tie Quixote to Python 2.2. That's fine by me, but if anyone out there > is unable/unwilling to move past Python 2.0 or 2.1, you should speak up > now! Yup. I can make it work with Python <2.2 but it's messier. Does anyone care? Neil