add string articleTitle
This commit is contained in:
parent
76ea02f6cf
commit
7e9c5c1265
1 changed files with 2 additions and 2 deletions
|
@ -140,8 +140,8 @@ public class WikivoyageArticleDialogFragment extends WikivoyageBaseDialogFragmen
|
|||
if (article == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
String content = HEADER_INNER +"<h1>"+article.getTitle()+"</h1>"+ article.getContent() + FOOTER_INNER;
|
||||
String articleTitle = "<h1>" + article.getTitle() + "</h1>";
|
||||
String content = HEADER_INNER + articleTitle + article.getContent() + FOOTER_INNER;
|
||||
contentWebView.loadDataWithBaseURL(getBaseUrl(), content, "text/html", "UTF-8", null);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue