linkedin/dustjs — pull request #195 by pukkaone (2012-11-21 00:07:46+00:00)
Title: Fix overzealous whitespace removal

In version 1.1.1, the compiler removes a newline followed by spaces from the template. I have a case where the spaces must be preserved.

How to reproduce:

1. Go to http://linkedin.github.com/dustjs/test/test.html
2. In the **Select a template or write your own** text area, enter

<input
type="text">

3. In the **Render or stream the result** text area, you see the result

<inputtype="text">

I can work around this problem by writing the HTML element all on one line, but for the sake of code clarity, I prefer write it on multiple lines.

After this change, the compiler replaces a newline followed by spaces
with a single space.