From b77d61527c8eebeaf8c699b7b2b684b77aec0e64 Mon Sep 17 00:00:00 2001 From: vito-c Date: Sun, 4 Jan 2015 18:27:42 -0800 Subject: [PATCH] Add XHTMLText.appendCloseLineItemTag() --- .../java/org/jivesoftware/smackx/xhtmlim/XHTMLText.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/xhtmlim/XHTMLText.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/xhtmlim/XHTMLText.java index 1848104b9..c5ebd3256 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/xhtmlim/XHTMLText.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/xhtmlim/XHTMLText.java @@ -239,6 +239,15 @@ public class XHTMLText { return this; } + /** + * Appends a tag that indicates that a line item section ends. + * + */ + public XHTMLText appendCloseLineItemTag() { + text.closeElement(LI); + return this; + } + /** * Appends a tag that creates an ordered list. "Ordered" means that the order of the items * in the list is important. To show this, browsers automatically number the list.