diff --git a/src/js/modules/infragistics.templating.js b/src/js/modules/infragistics.templating.js index 7da3a88a6..36a862d81 100644 --- a/src/js/modules/infragistics.templating.js +++ b/src/js/modules/infragistics.templating.js @@ -126,7 +126,7 @@ /* type="RegExp" Matches any substitution element in the template that is to be rendered as it is Use $.ig.regExp.sub.exec(tmpl) in order to get the substitution element in the tmpl string */ - nonEncodeSub: /\{\{html\s+((?:[^\s{}])+(\.|\s)?(?:[^\s{}])*)+\}\}/, + nonEncodeSub: /\{\{html\s+([^\s{}]+(\.|\s)?[^\s{}]*)+\}\}/, forSub: /\$\{(([\w\$]+\.[\w\$]*)+)\}/, arg: /args\[\d+\](?!.*\+)/, /* type="RegExp" Matches any block directive in the template