[daisy] cleaning of html

christophe blin cblin at tennaxia.com
Mon Mar 12 09:06:23 CDT 2007


Hi,

I have some questions about the Html cleaner :
1. is it possible to allow only some attributes and to restrict the
values they can take in the htmlcleaner ?
2. is it possible to do some conversions (ex : <ol type="A"> become <ol
style="list-style-type: alpha">) ?

My use case is that my users do a lot of copy/paste from a web site that
do not respect the XHTML standard (so they did not see the same thing
after the cleaning) but it is clean enough to mutate into valid xhtml if
my 2 questions are possible.

Thanks,

chris

-- 

_____________________________________________________________________
Tennaxia, www.tennaxia.com,
Pilotez vos obligations environnementales
_____________________________________________________________________
Siège social :
6, rue Léonard de Vinci - 53001 Laval Cedex -
Tél : 02 43 49 75 50 - Fax : 02 43 49 75 77
Agence Paris :
19, rue réaumur - 75003 Paris -
Tél : 01 42 77 04 19 - Fax : 08 25 19 19 61
Agence Lyon :
Parc du Chater - 63 rue de la garenne - 69340 FRANCHEVILLE -
Tél : 04 72 39 98 14 - Fax : 04 72 39 93 85
The information in this message sent by TENNAXIA is confidential 
and may be legally privileged. It is intended solely for the 
addressee(s). Access to this message by anyone else is unauthorized.
If you are not the intended recipient, please delete it and notify 
the sender : any disclosure, copying, distribution or any action 
taken or omitted to be taken in reliance on it, is prohibited and 
may be unlawful.



More information about the daisy mailing list