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

Prevent handlebars auto indenting #20

Merged
merged 1 commit into from
Jun 5, 2016

Conversation

tajo
Copy link
Collaborator

@tajo tajo commented Jun 5, 2016

The master (version 1.x.x) of json-schema-docs-generator breaks indentation of our code examples. The reason is the upgrade of handlebars from v2.0.0-alpha.4 which was the last version without the auto indenting functionality.

There is a long issue tracking this problem: handlebars-lang/handlebars.js#858
They've introduced preventIndent flag (http://handlebarsjs.com/reference.html).

Also, it makes <pre> unusable but we need it in order to bypass CF HTML minimization.

@toekneestuck toekneestuck merged commit 0e3837a into cloudflarearchive:master Jun 5, 2016
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.

2 participants