missing </li> tag?
Gordian Yuan <[email protected]> Mon, 23 Feb 2009 17:33:34 +0800
| Newsgroups | gmane.comp.jakarta.ecs.user |
|---|---|
| Message-ID | <[email protected]> |
--001636417b8f4df929046392b2ba
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Hi all,
I am new to ecs, I write a assert like
assertEquals("<ul><li>Hello World</li></ul>", new UL().addElement(
new LI("Hello World")).toString());
I expect "<ul><li>Hello World</li></ul>" but actual ecs generate
"<ul><li>Hello World</ul>", it's missing "</li>"
My question is how to add the missing "</li>" tag??
Any input will be great .. thank you
Gordian
--001636417b8f4df929046392b2ba--