Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Use partialIndent hbs option to prevent indent issues #5053

Closed
wants to merge 1 commit into from

Conversation

ErisDS
Copy link
Member

@ErisDS ErisDS commented Mar 19, 2015

Raising this here just as a place for discussion - I did attempt to update express-hbs to 0.8.2 so that we could use the preventIndent compiler flag, which should fix #4364

However for some reason it's not working.

I have tried tracing it through, the problem doesn't seem to be with express-hbs as in handlebars' compiler.js, the option is present in compileInput but not in PartialStatement. I don't know the code well enough yet but if anyone fancies taking a look it would be appreciated

@ErisDS ErisDS changed the title [WIPUse partialIndent hbs option to prevent indent issues [WIP] Use partialIndent hbs option to prevent indent issues Mar 19, 2015
@ErisDS
Copy link
Member Author

ErisDS commented Mar 20, 2015

Closing in favour of #5054 which I am updating to solve both problems

@ErisDS ErisDS closed this Mar 20, 2015
@ErisDS ErisDS deleted the partial-indent branch August 26, 2015 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto-indent of partials causes problems with rendering code blocks in blog posts
1 participant