提交 bf8575a5 编写于 作者: Y youyong205

fix bug

上级 90d23673
......@@ -186,7 +186,6 @@ public class HtmlMessageCodec implements MessageCodec, Initializable {
if (title.length() == 0) {
title = "show";
}
if (counter != null) {
counter.inc();
......@@ -197,10 +196,11 @@ public class HtmlMessageCodec implements MessageCodec, Initializable {
count += helper.td1(buf);
count += helper.nbsp(buf, level * 2); // 2 spaces per level
count += helper.write(buf, String.format("<a href=\"%s%s\" onclick=\"return show(this,'%s');\">[:: %s ::]</a>", //
m_logViewPrefix, link, link, title));
count += helper.td(buf, "<div id=\"" + link + "\"></div>", "colspan=\"4\"");
count += helper.write(buf,
String.format("<a href=\"%s%s\" onclick=\"return show(this,'%s');\">[:: %s ::]</a>", //
m_logViewPrefix, link, link, title));
count += helper.td2(buf);
count += helper.td(buf, "<div id=\"" + link + "\"></div>", "colspan=\"4\"");
count += helper.tr2(buf);
count += helper.crlf(buf);
......@@ -268,7 +268,6 @@ public class HtmlMessageCodec implements MessageCodec, Initializable {
String name = message.getName();
count += helper.td1(buf);
count += helper.nbsp(buf, level * 2); // 2 spaces per level
count += helper.write(buf, String.format("<a href=\"%s\" target=\"_blank\">[:: %s ::]</a>", link, name));
count += helper.td2(buf);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册