Skip to content

Commit

Permalink
Issue nodejs#168 bugfix for links not being clickable, adds autoLink …
Browse files Browse the repository at this point in the history
…feature including web, phone, map and email
  • Loading branch information
kenodoggy authored and niftynei committed Sep 10, 2016
1 parent e370c9b commit 263e874
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/java/com/zulip/android/models/Message.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
import java.util.Map;
import java.util.concurrent.Callable;

import static com.zulip.android.util.CustomHtmlToSpannedConverter.linkifySpanned;

@DatabaseTable(tableName = "messages")
public class Message {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@
import android.graphics.Typeface;
import android.graphics.drawable.Drawable;
import android.support.annotation.NonNull;
<<<<<<< e370c9bc00e8f6b33b1d12a44b4c70a7f063c8b9
import android.support.v4.content.ContextCompat;
=======
>>>>>>> Issue #168 bugfix for links not being clickable, adds autoLink feature including web, phone, map and email
import android.text.Html;
import android.text.Layout;
import android.text.Spannable;
Expand Down Expand Up @@ -730,7 +733,11 @@ private static int convertValueToInt(CharSequence charSeq,
}

/**
<<<<<<< e370c9bc00e8f6b33b1d12a44b4c70a7f063c8b9
* Parses Spanned text for existing html links and reapplies them after the text has been Linkified
=======
* Parses Spanned text for existing html links and reapplies them.
>>>>>>> Issue #168 bugfix for links not being clickable, adds autoLink feature including web, phone, map and email
* @see <a href="https://developer.android.com/reference/android/text/util/Linkify.html">Linkify</a>
*
* @param spann
Expand Down

0 comments on commit 263e874

Please sign in to comment.