aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/PageTemplates.java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2014-06-21 03:33:02 +0700
committerGravatar Ugnich Anton2014-06-21 03:33:02 +0700
commit0439784c9e32e2bfe6ccb7ea7569fa8a503c1152 (patch)
tree1a706e9f6fbb13eefadbbff6aabec2ff0a22b483 /src/java/com/juick/http/www/PageTemplates.java
parentf5899de9203a89483bfad67b1a8d9a831834acd7 (diff)
* q -> blockquote
Diffstat (limited to 'src/java/com/juick/http/www/PageTemplates.java')
-rw-r--r--src/java/com/juick/http/www/PageTemplates.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/com/juick/http/www/PageTemplates.java b/src/java/com/juick/http/www/PageTemplates.java
index 169cec8d..c2e56fcb 100644
--- a/src/java/com/juick/http/www/PageTemplates.java
+++ b/src/java/com/juick/http/www/PageTemplates.java
@@ -52,7 +52,7 @@ public class PageTemplates {
out.println("<!DOCTYPE html>");
out.print("<html>");
out.print("<head>");
- out.print("<link rel=\"stylesheet\" href=\"/style.2014061700.css\"/>");
+ out.print("<link rel=\"stylesheet\" href=\"/style.2014061900.css\"/>");
out.print("<script type=\"text/javascript\" src=\"//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js\"></script>");
out.print("<script type=\"text/javascript\" src=\"/scripts.2014042200.js\"></script>");
if (headers != null) {
@@ -436,8 +436,8 @@ public class PageTemplates {
msg = sb.toString();
// > citate
- msg = msg.replaceAll("(?:(?<=\\n)|(?<=\\A))&gt; *(.*)?(\\n|(?=\\Z))", "<q>$1</q>");
- msg = msg.replaceAll("</q><q>", "\n");
+ msg = msg.replaceAll("(?:(?<=\\n)|(?<=\\A))&gt; *(.*)?(\\n|(?=\\Z))", "<blockquote>$1</blockquote>");
+ msg = msg.replaceAll("</blockquote><blockquote>", "\n");
msg = msg.replaceAll("\n", "<br/>\n");
return msg;