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
document.select("dl").tagName("div");
for (Element dt : document.select("dt"))
for (Element dt : document.select("dt")) {
dt.tagName("strong");
dt.appendElement("br");
for (Element dt : document.select("dd"))
dt.appendElement("br").appendElement("br");
document.select("dt").tagName("strong");
document.select("dd").tagName("em");
}
for (Element dd : document.select("dd")) {
dd.tagName("em");
dd.appendElement("br").appendElement("br");
}
// Images
for (Element img : document.select("img")) {