noahmorrison / chevron

A Python implementation of mustache
MIT License
486 stars 52 forks source link

Allow tabs in partial indentation (Fixes #49?) #51

Closed dmorrison42 closed 5 years ago

dmorrison42 commented 5 years ago

This appears to be the underlying issue in #49.

Now tabs or spaces can be used to indent partials.

There is some slight possible API breakage changing padding from int.

If desired, a check could be added to check for an int padding.

noahmorrison commented 5 years ago

Much better way to handle indention :stuck_out_tongue: Thanks for the fix