diff --git a/app/build.gradle b/app/build.gradle
index 5d19f14f..6f763839 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -37,7 +37,7 @@ dependencies {
implementation 'com.squareup.okhttp3:okhttp:3.9.0'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'com.jakewharton.picasso:picasso2-okhttp3-downloader:1.1.0'
- implementation 'org.jsoup:jsoup:1.11.1'
+ implementation 'org.jsoup:jsoup:1.10.3'
implementation 'com.github.franmontiel:PersistentCookieJar:v1.0.1'
implementation 'com.github.PhilJay:MPAndroidChart:v3.0.2'
implementation("com.mikepenz:materialdrawer:6.0.1@aar") {
diff --git a/app/src/main/assets/mit_libraries.html b/app/src/main/assets/mit_libraries.html
index 76527173..f9d92c13 100644
--- a/app/src/main/assets/mit_libraries.html
+++ b/app/src/main/assets/mit_libraries.html
@@ -39,7 +39,7 @@
-
-
jsoup v1.11.1 (Copyright ©2009-2017, Jonathan Hedley <jonathan@hedley.net>)
+ jsoup v1.10.3 (Copyright ©2009-2017, Jonathan Hedley <jonathan@hedley.net>)
-
android-gif-drawable v1.2.8 (Copyright ©2013 -2017 Karol Wrótniak, Droids on Roids)
diff --git a/app/src/main/java/gr/thmmy/mthmmy/activities/topic/TopicActivity.java b/app/src/main/java/gr/thmmy/mthmmy/activities/topic/TopicActivity.java
index 94354543..cf3d7c8e 100644
--- a/app/src/main/java/gr/thmmy/mthmmy/activities/topic/TopicActivity.java
+++ b/app/src/main/java/gr/thmmy/mthmmy/activities/topic/TopicActivity.java
@@ -691,10 +691,10 @@ public class TopicActivity extends BaseActivity {
parsedTitle = topic.select("td[id=top_subject]").first().text();
if (parsedTitle.contains("Topic:")) {
parsedTitle = parsedTitle.substring(parsedTitle.indexOf("Topic:") + 7
- , parsedTitle.indexOf("(Read") - 1);
+ , parsedTitle.indexOf("(Read") - 2);
} else {
parsedTitle = parsedTitle.substring(parsedTitle.indexOf("Θέμα:") + 6
- , parsedTitle.indexOf("(Αναγνώστηκε") - 1);
+ , parsedTitle.indexOf("(Αναγνώστηκε") - 2);
Timber.d("Parsed title: %s", parsedTitle);
}
}