Allow type writer mode in description text block
This commit is contained in:
parent
373174a58d
commit
34838eaf04
|
@ -227,16 +227,11 @@ public class ApiDocGenerator implements ApiDocContentPrinter {
|
|||
nodeWriter.writeNodeContent(event);
|
||||
writer.printTagEnd(Tag.div);
|
||||
if (i+1<bodyWriterDescriptionLinks.size()) {
|
||||
writer.printTagStart(Tag.div, ApiDocContentCss.description);
|
||||
writer.printCharacters(" ");
|
||||
writer.printTagEnd(Tag.div);
|
||||
writer.printTagStartEnd(Tag.br);
|
||||
}
|
||||
}
|
||||
writer.printTagStartEnd(Tag.hr);
|
||||
writer.printTagStart(Tag.div, ApiDocContentCss.description);
|
||||
writer.printCharacters(" ");
|
||||
writer.printTagEnd(Tag.div);
|
||||
//writer.printTagStartEnd(Tag.br); // mmm
|
||||
writer.printTagStartEnd(Tag.br);
|
||||
}
|
||||
if (bodyWriterDescriptionNode.isEmpty()) {
|
||||
writer.printTagStart(Tag.div, ApiDocContentCss.description);
|
||||
|
@ -249,9 +244,7 @@ public class ApiDocGenerator implements ApiDocContentPrinter {
|
|||
nodeWriter.writeNodeContent(event);
|
||||
writer.printTagEnd(Tag.div);
|
||||
if (i+1<bodyWriterDescriptionNode.size()) {
|
||||
writer.printTagStart(Tag.div, ApiDocContentCss.description);
|
||||
writer.printCharacters(" ");
|
||||
writer.printTagEnd(Tag.div);
|
||||
writer.printTagStartEnd(Tag.br);
|
||||
}
|
||||
}
|
||||
writer.docPageBlockEnd();
|
||||
|
|
Loading…
Reference in a new issue