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);
|
nodeWriter.writeNodeContent(event);
|
||||||
writer.printTagEnd(Tag.div);
|
writer.printTagEnd(Tag.div);
|
||||||
if (i+1<bodyWriterDescriptionLinks.size()) {
|
if (i+1<bodyWriterDescriptionLinks.size()) {
|
||||||
writer.printTagStart(Tag.div, ApiDocContentCss.description);
|
writer.printTagStartEnd(Tag.br);
|
||||||
writer.printCharacters(" ");
|
|
||||||
writer.printTagEnd(Tag.div);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
writer.printTagStartEnd(Tag.hr);
|
writer.printTagStartEnd(Tag.hr);
|
||||||
writer.printTagStart(Tag.div, ApiDocContentCss.description);
|
writer.printTagStartEnd(Tag.br);
|
||||||
writer.printCharacters(" ");
|
|
||||||
writer.printTagEnd(Tag.div);
|
|
||||||
//writer.printTagStartEnd(Tag.br); // mmm
|
|
||||||
}
|
}
|
||||||
if (bodyWriterDescriptionNode.isEmpty()) {
|
if (bodyWriterDescriptionNode.isEmpty()) {
|
||||||
writer.printTagStart(Tag.div, ApiDocContentCss.description);
|
writer.printTagStart(Tag.div, ApiDocContentCss.description);
|
||||||
|
@ -249,9 +244,7 @@ public class ApiDocGenerator implements ApiDocContentPrinter {
|
||||||
nodeWriter.writeNodeContent(event);
|
nodeWriter.writeNodeContent(event);
|
||||||
writer.printTagEnd(Tag.div);
|
writer.printTagEnd(Tag.div);
|
||||||
if (i+1<bodyWriterDescriptionNode.size()) {
|
if (i+1<bodyWriterDescriptionNode.size()) {
|
||||||
writer.printTagStart(Tag.div, ApiDocContentCss.description);
|
writer.printTagStartEnd(Tag.br);
|
||||||
writer.printCharacters(" ");
|
|
||||||
writer.printTagEnd(Tag.div);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
writer.docPageBlockEnd();
|
writer.docPageBlockEnd();
|
||||||
|
|
Loading…
Reference in a new issue