-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
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
text/template: Raw quote doesn't allow \n #7323
Comments
The template language is not Go, however the lexical grammar might be similar. More importantly, the documentation[0] explicitly states that: """" Actions may not span newlines, although comments can. """" #WAI [0]: http://golang.org/pkg/text/template/ |
Also, http://play.golang.org/p/DJOeuHq7M7 is perhaps what you want. |
Owner changed to @robpike. Status changed to Thinking. |
I think, it would be useful to have multiline raw. I use swigjs on the frontend which has a very similar syntax and it would be nice to just wrap those blocks to not be processed. For now ive just changed the server's delimiter to work around this. swig example: |
CL https://golang.org/cl/9537 mentions this issue. |
by jeffdh:
Attachments:
The text was updated successfully, but these errors were encountered: