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

Change default config so Dev-Env and Production-Env behave the same (Whitespaces) #87

Open
tordans opened this issue Mar 13, 2015 · 2 comments

Comments

@tordans
Copy link

tordans commented Mar 13, 2015

Hi,
at some point the defaults changed and now in development slim puts whitespaces between tags but in production it doesn't.
That is a problem since tags that are styled as inline elements will behave differently based on those settings.
More about this issue here: slim-template/slim#594 (comment)

IMO development / staging and production should always behave in the same way.
Please consider changing the defaults back so no unexpected behavior occurs on different environments.

Thanks
Tobias

@phlegx
Copy link

phlegx commented May 2, 2015

👍 I have the same problem!

@januszm
Copy link
Contributor

januszm commented Oct 7, 2018

Hi @tordans , is this issue related to slim-rails or rather to the slim gem?

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

No branches or pull requests

3 participants