bugfix: markdown would fail if plantuml jar is not configured

This commit is contained in:
2025-08-16 01:08:47 +02:00
parent f82c4f7eb0
commit 78052b6a09

View File

@@ -72,7 +72,7 @@ public class Util {
public static String markdown(String source){
if (source == null) return source;
try {
if (plantumlJar.exists()) {
if (plantumlJar != null && plantumlJar.exists()) {
var matcher = UML_PATTERN.matcher(source);
if (matcher.find()) {
var uml = matcher.group(0).trim();