Skip to content
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 endings in preprocessed templates not consistent #63

Open
danielchipman opened this issue Mar 17, 2022 · 0 comments
Open

Line endings in preprocessed templates not consistent #63

danielchipman opened this issue Mar 17, 2022 · 0 comments

Comments

@danielchipman
Copy link

All lines resulting from a preprocessed template appear to correctly use system defined line endings except for those that are defined inside of a control block (<# #>).

Given a simple .tt file with all uniform line endings on Windows:
image

And then after running preprocess from Rider IDE, we can see in the TransformText() method that output line endings are not consistent:
image

This was repro'd using Rider 2021.3.3 (bundle 2021.3.238). Switching project settings to use explicit line endings did not appear to have an effect. Screenshots are from Notepad++ for easy line ending visibility, but any actual manipulations were all done inside the Rider IDE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant