We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There's an extra newline added at the beginning of compiled template.
@(String name) Hello $name
becomes
p("\n" + "Hello ");// line 1 p(name);// line 2
I suppose this might be the newline after param list declaration, but as there must be newline after this declaration, it should be ignored.
The engine might be used to render other outputs then html, where whitespace is important.
The text was updated successfully, but these errors were encountered:
I'll take a look. Thanks!
2013/1/14 marekk [email protected]
There's an extra newline added at the beginning of compiled template. @(String name) Hello $name becomes p("\n" + "Hello ");// line 1 p(name);// line 2 I suppose this might be the newline after param list declaration, but as there must be newline after this declaration, it should be ignored. The engine might be used to render other outputs then html, where whitespace is important. — Reply to this email directly or view it on GitHubhttps://github.com//issues/52.
— Reply to this email directly or view it on GitHubhttps://github.com//issues/52.
Sorry, something went wrong.
I see what the issue is.
In the interim, there is an "old" syntax you can use that does not have this problem:
`args String s, int i ...
No branches or pull requests
There's an extra newline added at the beginning of compiled template.
@(String name)
Hello $name
becomes
p("\n" +
"Hello ");// line 1
p(name);// line 2
I suppose this might be the newline after param list declaration, but as there must be newline after this declaration, it should be ignored.
The engine might be used to render other outputs then html, where whitespace is important.
The text was updated successfully, but these errors were encountered: