Browse Source

Fix greek parsing for mentions

pull/54/head
Apostolos Fanakis 6 years ago
parent
commit
0ff971c840
  1. 2
      app/src/main/java/gr/thmmy/mthmmy/activities/topic/TopicParser.java
  2. 1
      app/src/main/res/layout/activity_topic.xml

2
app/src/main/java/gr/thmmy/mthmmy/activities/topic/TopicParser.java

@ -32,7 +32,7 @@ import timber.log.Timber;
*/
public class TopicParser {
private static Pattern mentionsPattern = Pattern.
compile("<div class=\"quoteheader\">\\n\\s+?<a href=.+?>Quote from: "
compile("<div class=\"quoteheader\">\\n\\s+?<a href=.+?>(Quote from|Παράθεση από): "
+ BaseActivity.getSessionManager().getUsername());
//User colors

1
app/src/main/res/layout/activity_topic.xml

@ -44,7 +44,6 @@
android:layout_above="@id/emoji_keyboard"
android:layout_below="@id/appbar"
android:layout_gravity="top|start"
android:background="@color/background"
android:clipToPadding="false"
android:paddingBottom="4dp"
android:paddingTop="4dp"

Loading…
Cancel
Save