added title of article

This commit is contained in:
Chumva 2018-04-03 10:40:01 +03:00
parent b4ed49e4a7
commit 76ea02f6cf

View file

@ -141,7 +141,7 @@ public class WikivoyageArticleDialogFragment extends WikivoyageBaseDialogFragmen
return;
}
String content = HEADER_INNER + article.getContent() + FOOTER_INNER;
String content = HEADER_INNER +"<h1>"+article.getTitle()+"</h1>"+ article.getContent() + FOOTER_INNER;
contentWebView.loadDataWithBaseURL(getBaseUrl(), content, "text/html", "UTF-8", null);
}