Skip to content

Commit 6f21f4c

Browse files
committed
HMR-207 Allow additional attributes in HTML figure tags
1 parent 146d510 commit 6f21f4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

flexmark-ext-plantuml/src/main/java/com/vladsch/flexmark/ext/plantuml/internal/PlantUmlBlockNodeRenderer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public void renderPlantUmlCode(String plantUmlSourceCode, HtmlWriter htmlWriter,
7474
}
7575

7676
public void renderPlantUmlCode(String plantUmlSourceCode, String caption, HtmlWriter htmlWriter, NodeRendererContext context) {
77-
htmlWriter.tagLine("figure").indent();
77+
htmlWriter.withAttr().tagLine("figure").indent();
7878
String plantUmlToSvgResult = translatePlantUmlToSvg(plantUmlSourceCode);
7979
String plantUmlToHtmlResult = adaptSvgAttributesForHtmlEmbedding(plantUmlToSvgResult);
8080
String htmlFormatted = formatHtml(plantUmlToHtmlResult, context);

0 commit comments

Comments
 (0)