[daisy] HTML Cleaner

Michael Halpin mhalpin at globaluniversity.edu
Mon Apr 21 23:30:53 CEST 2008


I am running 2.1 at the moment.  I have not put them in the allowed div
or span classes because since it is not a class attribute.

-----Original Message-----
From: daisy-bounces at lists.cocoondev.org
[mailto:daisy-bounces at lists.cocoondev.org] On Behalf Of Sieranski, Greg
Sent: Monday, April 21, 2008 3:58 PM
To: open source CMS - general mailinglist
Subject: Re: [daisy] HTML Cleaner

Michael Halpin wrote:
>
> I have changed the following code in the htmlcleaner.xml file:
>
>  
>
>       <element name="span">
>
>         <attribute name="class"/>
>
>       </element>
>
>  
>
> To:
>
>  
>
>       <element name="span">
>
>         <attribute name="class"/>
>
>         <attribute name="chapter-id"/>
>
>       </element>
>
>  
>
> I have saved the file.  Uploaded the change, restarted daisy, and 
> cleared my browser cache but the cleaner is still removing my 
> chapter-id tags.  Any ideas?
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> daisy community mailing list
> Professional Daisy support:
http://outerthought.org/en/services/daisy/support.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy
>   
We have modified the htmlcleaner previously and had not problems with it

picking up our changes. What version of Daisy are you running? Also, did

you put the elements in the:

 <allowed-div-classes>
 </allowed-div-classes>

or

 <allowed-span-classes>
 </allowed-span-classes>

Regards,
Greg Sieranski
_______________________________________________
daisy community mailing list
Professional Daisy support:
http://outerthought.org/en/services/daisy/support.html
mail to: daisy at lists.cocoondev.org
list information: http://lists.cocoondev.org/mailman/listinfo/daisy


More information about the daisy mailing list