Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/src/main/java/com/gh4a/utils/HtmlUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public static String rewriteRelativeUrls(final String html, final String repoUse
* @param imageGetter
* @return html
*/
public static CharSequence encode(final Context context, final String html,
public static CharSequence encodeHtml(final Context context, final String html,
final ImageGetter imageGetter) {
if (TextUtils.isEmpty(html))
return "";
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/gh4a/utils/HttpImageGetter.java
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ void unbind(TextView view) {
}

void encode(Context context, String html) {
CharSequence encoded = HtmlUtils.encode(context, html, this);
CharSequence encoded = HtmlUtils.encodeHtml(context, html, this);
synchronized (this) {
mHtml = encoded;
}
Expand Down