My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 40 attachment: empty-caption-patch.txt (685 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: C:/work/jmesa/src/org/jmesa/view/html/renderer/HtmlTableRendererImpl.java
===================================================================
--- C:/work/jmesa/src/org/jmesa/view/html/renderer/HtmlTableRendererImpl.java (revision 1080)
+++ C:/work/jmesa/src/org/jmesa/view/html/renderer/HtmlTableRendererImpl.java (working copy)
@@ -113,7 +113,9 @@
html.width(getWidth());
html.close();

- html.caption().close().append(getTable().getCaption()).captionEnd();
+ if (StringUtils.isNotBlank(getTable().getCaption())) {
+ html.caption().close().append(getTable().getCaption()).captionEnd();
+ }

return html;
}
Powered by Google Project Hosting