Last active
February 3, 2016 08:01
-
-
Save sergejmueller/e33b48f8e2e729f91fee to your computer and use it in GitHub Desktop.
Remove line breaks and tabs from HTML with mod_substitute Apache module. For Nginx: https://github.com/sergejmueller/sergejmueller.github.io/wiki/Nginx:-nginx_substitutions_filter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AddOutputFilter SUBSTITUTE html | |
Substitute "s/[\n\t]//i" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment