1
0
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:
Arnaud Roques 2023-05-18 13:32:30 +02:00
parent 95026709a6
commit 18a7f99b55

View File

@ -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;