Thursday, March 27, 2014

Only subset of HTML supported by HTML class?

Greetings,

I am trying to render some HTML.  I am using:

       RootLayoutPanel rlp = RootLayoutPanel.get();
        rlp.clear();
        rlp.add(new HTML("abcde <strong>hello</strong> <em>emphisized</em> the<br>break <b>bold text</b><ol><li>aaaaa</li><li>bbbbbb</li></ol>", true));


The <b> and <br> work.  All the rest is ignored.  Why is only a subset supported?  I don't understand why it wouldn't just insert what I specify.  Is there a way for me to add arbitrary html?

Thanks.

Blake

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment