]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - src/com/hughes/android/dictionary/engine/HtmlEntry.java
Non-final html text.
[Dictionary.git] / src / com / hughes / android / dictionary / engine / HtmlEntry.java
index 3278be6b5dfaade8ec7c950eedc9a3dc674ff6e1..af9651f437ab7cf443c12e59e09e8c57580dac65 100644 (file)
@@ -14,14 +14,13 @@ import com.ibm.icu.text.Transliterator;
 public class HtmlEntry extends AbstractEntry implements RAFSerializable<HtmlEntry>, Comparable<HtmlEntry> {
   
   final String title;
-  final String html;
+  public String html;
   
   
 
-  public HtmlEntry(final EntrySource entrySource, String title, String html) {
+  public HtmlEntry(final EntrySource entrySource, String title) {
     super(entrySource);
     this.title = title;
-    this.html = html;
   }
   
   public HtmlEntry(Dictionary dictionary, RandomAccessFile raf) throws IOException {
@@ -68,7 +67,7 @@ public class HtmlEntry extends AbstractEntry implements RAFSerializable<HtmlEntr
   };
 
   public String getRawText(final boolean compact) {
-    return title + ": " + html;
+    return title + ":\n" + html;
   }