diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-03-23 14:27:23 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-03-23 14:27:23 +0100 |
commit | c9bdd97a294cc273480f8324dbfcba8ce3c485d1 (patch) | |
tree | 8bffb0fde976264861133a8d273a9255e80e7019 /src/templating/mustach.h | |
parent | 78e568ea0cd3b1e9cf26852ed3a80e0283a7cc1f (diff) | |
download | exchange-c9bdd97a294cc273480f8324dbfcba8ce3c485d1.tar.xz |
update to mustach 1.2.7
Diffstat (limited to 'src/templating/mustach.h')
-rw-r--r-- | src/templating/mustach.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/templating/mustach.h b/src/templating/mustach.h index 8c4a43f10..1b44582d5 100644 --- a/src/templating/mustach.h +++ b/src/templating/mustach.h @@ -19,11 +19,16 @@ struct mustach_sbuf; /* see below */ #define MUSTACH_VERSION_MINOR (MUSTACH_VERSION % 100) /** - * Maximum nested imbrications supported + * Maximum nested section supported */ #define MUSTACH_MAX_DEPTH 256 /** + * Maximum nested template supported + */ +#define MUSTACH_MAX_NESTING 64 + +/** * Maximum length of tags in mustaches {{...}} */ #define MUSTACH_MAX_LENGTH 4096 @@ -57,6 +62,7 @@ struct mustach_sbuf; /* see below */ #define MUSTACH_ERROR_ITEM_NOT_FOUND -10 #define MUSTACH_ERROR_PARTIAL_NOT_FOUND -11 #define MUSTACH_ERROR_UNDEFINED_TAG -12 +#define MUSTACH_ERROR_TOO_MUCH_NESTING -13 /* * You can use definition below for user specific error |