[daisy] issues with htmlcleaner and <ul>

Bruno Dumon bruno at outerthought.org
Fri Nov 24 03:02:53 CST 2006


Wim,

Thanks for the detailed report. For now I've added it to jira so that it
doesn't get forgotten.

On Fri, 2006-11-24 at 08:57 +0100, Wim Van Acker wrote:
> Hi,
> 
> I have been able (at last) to create some daisy - HTML which reproduces
> some annoying "features" that corrupt your text and bullet structure.
> The main problem - as I understand - is that the HTML cleaner leaves it
> like it is. So one can't get it right without hacking the HTML ... and
> it always happens on a moment when you have no time and just want to
> deliver a nice document.
> 
> To demonstrate :
> 
> 1) Create a new empty daisy document.
> 2) Switch to the HTML tag view
> 3) Open the attachment "bad-ul-showcase.txt" and copy/paste all the HTML
> into the newly created document replacing the initial content.
> 4) Save.
> 5) Reopen the document ... and follow the instructions.
> 
> Normally manipulating the case (B) <ul> gets you into trouble. Of course
> this is a very small document but big enough to demonstrate. It's my
> believe this is an issue that should be looked after to avoid end-user
> frustration while editing via the wiki, so am I happy to be able to
> provide a reproducible description.
> 
> Regards,
> Wim
> 
> ps1.
> I have tested this on the http://demo.daisycms.org site
> 
> ps2.
> No ... the case (B) wasn't a result of me manually playing with HTML 
> tags. It sometimes happens while editing and the cleaner doesn't get rid 
> of it. But previously I haven't been able to provide a sample.
> 

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org                          bruno at apache.org



More information about the daisy mailing list