Skip to content

Commit

Permalink
fix def tag parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Sep 21, 2022
1 parent 0401aca commit 0da46da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ public static ObjectTag tagObject(String arg, TagContext context) {
return parseTextToTag(arg, context).parse(context);
}

public static AsciiMatcher validTagFirstCharacter = new AsciiMatcher(AsciiMatcher.LETTERS_LOWER + AsciiMatcher.LETTERS_UPPER + AsciiMatcher.DIGITS + "&_");
public static AsciiMatcher validTagFirstCharacter = new AsciiMatcher(AsciiMatcher.LETTERS_LOWER + AsciiMatcher.LETTERS_UPPER + AsciiMatcher.DIGITS + "&_[");

private static void locateTag(String arg, int[] holder, int start) {
int first = arg.indexOf('<', start);
Expand Down

0 comments on commit 0da46da

Please sign in to comment.