$1"); - msg = msg.replaceAll("
", "\n"); + msg = msg.replaceAll("(?:(?<=\\n)|(?<=\\A))> *(.*)?(\\n|(?=\\Z))", "$1"); + msg = msg.replaceAll("", "\n"); msg = msg.replaceAll("\n", "
\n"); return msg; @@ -550,7 +550,7 @@ public class PageTemplates { out.print("" + msg.Replies + ""); } out.println(""); - out.println(""); + out.print(""); } } } diff --git a/src/java/com/juick/http/www/User.java b/src/java/com/juick/http/www/User.java index 7ce89895..382d3be9 100644 --- a/src/java/com/juick/http/www/User.java +++ b/src/java/com/juick/http/www/User.java @@ -118,11 +118,7 @@ public class User { PrintWriter out = response.getWriter(); try { PageTemplates.pageHead(out, title, ""); - - if (!Utils.isMobileRequest(request)) { - PageTemplates.pageNavigation(out, visitor, null); - } - + PageTemplates.pageNavigation(out, visitor, null); pageUserColumn(out, sql, user, visitor); if (mids.size() > 0) { @@ -151,10 +147,7 @@ public class User { out.println("
" + pageUserTags(sql, user, visitor, 0) + "
"); out.println("