swxben / crispin

Reporting library, using Razor templates to generate HTML, Excel and PDF reports
http://crispin.readthedocs.org/en/latest/
16 stars 7 forks source link

If incoming report markup has white space before the <?xml tag the parser fails #27

Closed becdetat closed 9 years ago

becdetat commented 9 years ago

This can happen when the razor template has statements preceding the <?xml tag. Should be fixed by doing a string.Trim() on the incoming template.