Skip to content

Commit

Permalink
fix empty map reparsing
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jul 9, 2021
1 parent 7ef773f commit 015a6fa
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -85,6 +85,9 @@ public static MapTag valueOf(String string, TagContext context) {
hasBrackets = true;
}
if (hasBrackets) {
if (string.equals("[]")) {
return result;
}
List<String> properties = ObjectFetcher.separateProperties(string);
for (int i = 1; i < properties.size(); i++) {
List<String> data = CoreUtilities.split(properties.get(i), '=', 2);
Expand Down

0 comments on commit 015a6fa

Please sign in to comment.