jsoverson / preprocess

Preprocess HTML, JavaScript, and other files with directives based off custom or ENV configuration
Other
366 stars 80 forks source link

@if directive (and possibly others) are not agnostic to leading/trailing whitespaces #74

Closed BendingBender closed 9 years ago

BendingBender commented 9 years ago

With HTML, the rule <!--@if ENV='staging4'--> doesn't work. Instead the one wrapped with spaces (<!-- @if ENV='staging4' -->) works well. Taken from jsoverson/grunt-preprocess#46.