spatools/grunt-html-build — pull request #5 by jimjamjoh (2013-05-08 23:02:32+00:00)
Title: normalize line endings before pattern matching

The tags are parsed from the source document and joined using grunt.util.linefeed(), which is OS-specific. However, if the source linefeeds are not normalized prior to comparison, they will not be found if the source was authored on a different OS than the grunt task is executing on.

Normalizing the linefeed using grunt.util.normalizelf() at the beginning resolves this bug.