mirror of
https://github.com/octoleo/plantuml.git
synced 2024-12-22 02:49:06 +00:00
fix: improve theme support
This commit is contained in:
parent
95026709a6
commit
18a7f99b55
@ -75,7 +75,7 @@ public class EaterTheme extends Eater {
|
||||
|
||||
final int x = this.name.toLowerCase().indexOf(" from ");
|
||||
if (x != -1) {
|
||||
final String fromTmp = this.name.substring(x + " from ".length());
|
||||
final String fromTmp = this.name.substring(x + " from ".length()).trim();
|
||||
this.from = context.applyFunctionsAndVariables(memory, getLineLocation(), fromTmp);
|
||||
this.name = this.name.substring(0, x).trim();
|
||||
this.context = context;
|
||||
|
Loading…
Reference in New Issue
Block a user