Version 1.4.2: fix for images documents...
[fanfix.git] / src / be / nikiroo / fanfix / supported / E621.java
index 9315716715b5dbfd6fad8a54c4f1a57bc92fced2..05d122e68b89efc71587fda628f9b17e720736d7 100644 (file)
@@ -92,7 +92,7 @@ class E621 extends BasicSupport {
                String images = getChapterContent(new URL(source.toString() + "?page="
                                + 1), in, 1);
                if (!images.isEmpty()) {
-                       int pos = images.indexOf('\n');
+                       int pos = images.indexOf("<br/>");
                        if (pos >= 0) {
                                images = images.substring(1, pos - 1);
                                return getImage(this, null, images);
@@ -268,7 +268,7 @@ class E621 extends BasicSupport {
                                                        id = id.substring(0, dotPos);
                                                        builder.append("[");
                                                        builder.append(id);
-                                                       builder.append("]\n");
+                                                       builder.append("]<br/>");
                                                }
                                        }
                                }