structurizr / java

Structurizr for Java
https://docs.structurizr.com/java
Apache License 2.0
1.01k stars 288 forks source link

Removes redundant spaces in single tokens with multiline separators #268

Open goto1134 opened 7 months ago

goto1134 commented 7 months ago

Now cases when a single keyword is split by multiple multiline separators are supported.

work\
 spa\
 ce {
}

Also fixes redundant spaces inside quoted strings. The following code was parsed as "Soft ware System" before.

"Soft\
   ware \
   Sys\
   tem"

BREAKING CHANGE! The following code produced valid workspace before, because whitespaces in the second line were preserved. Now the first three lines will produce a single token workspace{.

workspace\
 \
  {
}