Should or can I put <div /> as innerHTML on a gwt dom Element?

According to the spec i'ts not valid HTML, but it's valid XHTML.

If I input the following string:

<div>
    <div />
</div>
<div>
   <div />
</div>

The gwt dom Element will contain the following, which is incorrect:

<div>
   <div>
       <div></div>
        <div>
          <div></div>
        </div>
    </div>
</div>

How to deal with this ?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to