From fdb9d0e4569eab3a5b4ddf7f63f5e505249b8ac3 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sat, 6 Jan 2018 09:18:49 +0300 Subject: email: cleanup html template --- juick-core/src/main/java/com/juick/util/MessageUtils.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'juick-core/src/main/java/com/juick') diff --git a/juick-core/src/main/java/com/juick/util/MessageUtils.java b/juick-core/src/main/java/com/juick/util/MessageUtils.java index 91cc7870..d032ce8e 100644 --- a/juick-core/src/main/java/com/juick/util/MessageUtils.java +++ b/juick-core/src/main/java/com/juick/util/MessageUtils.java @@ -146,11 +146,11 @@ public class MessageUtils { public static String formatHtml(Message jmsg) { StringBuilder sb = new StringBuilder(); boolean isReply = jmsg.getRid() > 0; - String title = isReply ? "
" + jmsg.getReplyQuote() + "" : "" + jmsg.getTagsString() + ""; + String title = isReply ? "Reply by @" : "@"; + String subtitle = isReply ? "
" + jmsg.getReplyQuote() + "" : "" + jmsg.getTagsString() + ""; boolean isCode = jmsg.getTags().stream().anyMatch(t -> t.getName().equals("code")); - sb.append(title).append(jmsg.getUser().getName()).append(":