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); } } }
public FlexmarkAttributeProvider(NodeRendererContext context) { DataHolder options = context.getOptions(); attributeMap = options.get(AttributesExtension.ATTRIBUTE_MAP); }
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); } } }