Skip to content

IndentWithInclude causes error #266

@badcel

Description

@badcel

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')

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions