]> gitweb.fperrin.net Git - Dictionary.git/commitdiff
Non-final html text.
authorthadh <thadh@192.168.100.123>
Tue, 24 Jul 2012 00:20:52 +0000 (17:20 -0700)
committerthadh <thadh@192.168.100.123>
Tue, 24 Jul 2012 00:20:52 +0000 (17:20 -0700)
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;
   }