Simplification

This commit is contained in:
M66B 2019-03-11 08:27:56 +00:00
parent 432fb7739d
commit 90a21c08af
1 changed files with 7 additions and 5 deletions

View File

@ -162,12 +162,14 @@ public class HtmlHelper {
// Descriptions // Descriptions
document.select("dl").tagName("div"); document.select("dl").tagName("div");
for (Element dt : document.select("dt")) for (Element dt : document.select("dt")) {
dt.tagName("strong");
dt.appendElement("br"); dt.appendElement("br");
for (Element dt : document.select("dd")) }
dt.appendElement("br").appendElement("br"); for (Element dd : document.select("dd")) {
document.select("dt").tagName("strong"); dd.tagName("em");
document.select("dd").tagName("em"); dd.appendElement("br").appendElement("br");
}
// Images // Images
for (Element img : document.select("img")) { for (Element img : document.select("img")) {