[daisy] [JIRA] Commented: (DSY-380) HTMLCleaner not accepting
valid? html
Bruno Dumon (JIRA)
issues at cocoondev.org
Tue Dec 5 03:39:47 CST 2006
[ http://issues.cocoondev.org//browse/DSY-380?page=comments#action_12954 ]
Bruno Dumon commented on DSY-380:
---------------------------------
<i> elements are automatically "normalized" to <em> elements, that's why it is complaining about <em>
A quick check of the HTML DTD reveals that a blockquote element should only contain block-level elements, so this problem could be fixed by letting the HTML cleaner automatically wrap the content of blockquote elements into <p>'s.
> HTMLCleaner not accepting valid? html
> -------------------------------------
>
> Key: DSY-380
> URL: http://issues.cocoondev.org//browse/DSY-380
> Project: Daisy
> Type: Bug
> Components: HTML editing / HTML cleaner
> Versions: public - 1.5, public - 1.4.1, public - 1.4, public - 1.3, public - 1.2, public - 1.1
> Reporter: Min Idzelis
> Priority: Minor
>
> Try creating a new document with the following html tags:
> <h2>test</h2><blockquote><i>asdfthing</i><br /></blockquote><br />
> (This can also be done by creating a heading, entering text. Then pressing enter. Then enter some more text. Then make it italic. Then indent it (using quote)
> When I try to save it - I get the following:
> Element <em> is disallowed at its current location, and could not automatically fix this.
> Strange - because <em> is not even and element in the document.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the daisy
mailing list