aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/assets/style.css5
-rw-r--r--src/main/java/com/juick/util/MessageUtils.java4
2 files changed, 4 insertions, 5 deletions
diff --git a/src/main/assets/style.css b/src/main/assets/style.css
index e8ddad56..2a5d5a61 100644
--- a/src/main/assets/style.css
+++ b/src/main/assets/style.css
@@ -584,11 +584,10 @@ article .tags > a::before,
/* #region user-generated texts */
-q:before,
-q:after {
+blockquote:before,
+blockquote:after {
content: "";
}
-q,
blockquote {
border-left: 3px solid #CCC;
color: #666;
diff --git a/src/main/java/com/juick/util/MessageUtils.java b/src/main/java/com/juick/util/MessageUtils.java
index ff0641ae..a4407f17 100644
--- a/src/main/java/com/juick/util/MessageUtils.java
+++ b/src/main/java/com/juick/util/MessageUtils.java
@@ -228,8 +228,8 @@ public class MessageUtils {
if (!compatibleWithDurov) {
// > citate
- msg = msg.replaceAll(citateRegex, "<q>$1</q>");
- msg = msg.replaceAll("</q><q>", "\n");
+ msg = msg.replaceAll(citateRegex, "<blockquote>$1</blockquote>");
+ msg = msg.replaceAll("</blockquote><blockquote>", "\n");
msg = msg.replaceAll("\n", "<br/>\n");
}