-
Notifications
You must be signed in to change notification settings - Fork 11
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
Line ends are broken when template html is minimized for <script> tag #29
Comments
@kuceram you're using Windows, right? I think I know what the problem is here. |
This should be resolved in the latest version |
This is still an issue. I don't use windows (I have Mac) but I use editor config which sets the line ends to LF. Btw. I don't probably have rights for reopening this issue... |
@kuceram ok that's helpful. I'll take a look. |
@kuceram take a look at version 2.4.0 just released and take a look at the new preserveLineBreaks property it should address your issue. |
Have you pushed this to the grails plugin repository? |
Having following code:
is compressed to:
<div>some content</div><script type="text/ng-template" id="myTemplate.html"> n<div> n test n n </div> n</script>
I found some similar issues of the past...
#7
#11
The text was updated successfully, but these errors were encountered: