Commits

Ville Saalo committed 4a24657

Removed debug prints.

Comments (0)

Files changed (1)

src/com/saibotd/bitbeaker/MarkupHelper.java

 import android.text.Html;
 import android.text.Spanned;
 import android.text.TextUtils;
-import android.util.Log;
 import android.util.Patterns;
 
 import com.petebevin.markdown.MarkdownProcessor;
 	}
 	
 	private static String getBitbucketLinksLinkified(String input, String owner, String slug) {
-		Log.d("MH", "1: "+input);
 		input = input.replaceAll("#(\\d+)", "<a href=\"https://bitbucket.org/"+owner+"/"+slug+"/issue/$1\">#$1</a>");
-		Log.d("MH", "2: "+input);
 		input = input.replaceAll("(?<!\\w)@([\\w\\d_]{1,30})", "<a href=\"https://bitbucket.org/$1\">@$1</a>"); // username up to 30 chars: letters, numbers, underscores
-		Log.d("MH", "3: "+input);
 		input = input.replaceAll("([a-fA-F0-9]{7,40})(?!([a-fA-F0-9\"]|</a>))", "<a href=\"https://bitbucket.org/"+owner+"/"+slug+"/changeset/$1\">$1</a>");// changeset 7-40 hex chars
-		Log.d("MH", "4: "+input);
 		return input;
 	}