Skip to content

Commit 4911ef8

Browse files
committed
add comment
1 parent eadf038 commit 4911ef8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

api/src/main/java/org/openmrs/module/htmlformentry/HtmlFormEntryGenerator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,7 @@ public void doEndTag(FormEntrySession session, PrintWriter out, Node parent, Nod
837837
*/
838838
public String wrapInDiv(String xml) {
839839
xml = xml.trim();
840+
// TODO not sure if this really does anything anymore since htmlform usually has attributes now
840841
xml = xml.replaceAll("(?s)<htmlform>(.*)</htmlform>", "<div class=\"htmlform\">$1</div>");
841842
return xml;
842843
}

0 commit comments

Comments
 (0)