Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
FR: Native way to collapse whitespace #1519
Hey, not sure if this is a bug, feature request or I've just misunderstood the docs but here goes....
HTML has whitespace.
Steps to reproduce
The intention is that the above will yield the same output as the below, but this is not the case.
Operating System: MacOS 10.12.5
Web Server: MAMP Pro
PHP Version: 7.0.15
Statamic Version: 2.5.11
Updated from an older Statamic or fresh install: Updated
List of installed addons: CookieConsent, Spock
This is particularly useful when relying on
Being able to
Hey there, a few things to note:
What you're probably looking for is another tag that wraps the whole thing, which strips out line breaks.
Here's one: https://github.com/marbles/statamic-spaceless