The new IndentWithInclude property on TemplateContext causes an error if there is no indentation before an include.
Example project: https://github.com/badcel/ScribanBugIndentWithInclude
Error:
Unhandled exception. <input>(2,3) : error : Specified argument was out of the range of valid values. (Parameter 'index')
The new
IndentWithIncludeproperty onTemplateContextcauses an error if there is no indentation before an include.Example project: https://github.com/badcel/ScribanBugIndentWithInclude
Error:
Unhandled exception. <input>(2,3) : error : Specified argument was out of the range of valid values. (Parameter 'index')