mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-22 04:55:10 +00:00
parent
55ca84b7c1
commit
be5564f5b2
@ -163,10 +163,10 @@ public class Pipe {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (sb.length() == 0) {
|
||||
String source = sb.toString().trim();
|
||||
if (source.length() == 0) {
|
||||
return null;
|
||||
}
|
||||
String source = sb.toString();
|
||||
if (source.startsWith("@start") == false) {
|
||||
source = "@startuml\n" + source + "\n@enduml";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user