private void render(Paragraph node, NodeRendererContext context, HtmlWriter html) { if (!(node.getParent() instanceof ParagraphItemContainer) || !((ParagraphItemContainer) node.getParent()).isParagraphWrappingDisabled(node, listOptions, context.getOptions())) { renderLooseParagraph(node, context, html); } else { renderTextBlockParagraphLines(node, context, html); } }
private void render(Paragraph node, NodeRendererContext context, HtmlWriter html) { if (!(node.getParent() instanceof ParagraphItemContainer) || !((ParagraphItemContainer) node.getParent()).isParagraphWrappingDisabled(node, listOptions, context.getOptions())) { renderLooseParagraph(node, context, html); } else { renderTextBlockParagraphLines(node, context, html); } }
void render(final Paragraph node, final NodeRendererContext context, final HtmlWriter html) { if (node.getFirstChildAnyNot(NonRenderingInline.class) != null) { if (!(node.getParent() instanceof ParagraphItemContainer) || !((ParagraphItemContainer) node.getParent()).isParagraphWrappingDisabled(node, listOptions, context.getOptions())) { renderLooseParagraph(node, context, html); } else { renderTextBlockParagraphLines(node, context, html, false); //context.getHtmlOptions().wrapTightItemParagraphInSpan); } } }
if (!((ParagraphItemContainer) node.getParent()).isParagraphWrappingDisabled(node, listOptions, context.getOptions())) { renderLooseItemParagraph(node, context, markdown); } else {
private void render(Paragraph node, NodeRendererContext context, HtmlWriter html) { if (!(node.getParent() instanceof ParagraphItemContainer) || !((ParagraphItemContainer) node.getParent()).isParagraphWrappingDisabled(node, listOptions, context.getOptions())) { renderLooseParagraph(node, context, html); } else { renderTextBlockParagraphLines(node, context, html); } }
void render(final Paragraph node, final NodeRendererContext context, final HtmlWriter html) { if (node.getFirstChildAnyNot(NonRenderingInline.class) != null) { if (!(node.getParent() instanceof ParagraphItemContainer) || !((ParagraphItemContainer) node.getParent()).isParagraphWrappingDisabled(node, listOptions, context.getOptions())) { renderLooseParagraph(node, context, html); } else { renderTextBlockParagraphLines(node, context, html, false); //context.getHtmlOptions().wrapTightItemParagraphInSpan); } } }
if (!((ParagraphItemContainer) node.getParent()).isParagraphWrappingDisabled(node, listOptions, context.getOptions())) { renderLooseItemParagraph(node, context, markdown); } else {