diff --git a/.eleventy.js b/.eleventy.js index 2d46b37eb..06686bf72 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -355,7 +355,7 @@ module.exports = function (eleventyConfig) { let calloutMetaData = ""; let isCollapsable; let isCollapsed; - const calloutMeta = /\[!([\w-]*)\|?(\s?.*)\](\+|\-){0,1}(\s?.*)/; + const calloutMeta = /\[!([\w-]*)\|?(\s?[^\]]*)\](\+|\-){0,1}(\s?.*)/; if (!content.match(calloutMeta)) { continue; }