mirror of
https://github.com/octoleo/plantuml.git
synced 2024-12-22 02:49:06 +00:00
Merge pull request #316 from t-8ch/master
dot: be less restrictive in digraph header
This commit is contained in:
commit
f2529b8b88
@ -53,7 +53,7 @@ public class PSystemDotFactory extends PSystemBasicFactory<PSystemDot> {
|
||||
|
||||
@Override
|
||||
public PSystemDot executeLine(PSystemDot system, String line) {
|
||||
if (system == null && line.matches("(strict\\s+)?(di)?graph\\s+\\w+\\s+\\{")) {
|
||||
if (system == null && line.matches("(strict\\s+)?(di)?graph\\s+\\w+\\s*\\{")) {
|
||||
data = new StringBuilder(line);
|
||||
data.append("\n");
|
||||
return new PSystemDot(data.toString());
|
||||
|
Loading…
Reference in New Issue
Block a user