Updated text

This commit is contained in:
M66B
2020-02-11 10:11:32 +01:00
parent 615cd71f98
commit e8d2d08f9a
3 changed files with 12 additions and 5 deletions

View File

@@ -730,13 +730,19 @@ public class HtmlHelper {
document.normalise();
}
if (length > MAX_TEXT_SIZE)
if (length > MAX_TEXT_SIZE) {
document.body()
.appendElement("p")
.appendElement("em")
.text(context.getString(R.string.title_too_large));
document.body()
.appendElement("p")
.appendElement("big")
.appendElement("a")
.attr("href", "more:")
.text(context.getString(R.string.title_show_more));
.attr("href", "full:")
.text(context.getString(R.string.title_show_full));
}
return document;
}