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

Respecting the EOL of the feature file for PyStringNode #113

Closed
everzet opened this issue Aug 1, 2016 · 0 comments
Closed

Respecting the EOL of the feature file for PyStringNode #113

everzet opened this issue Aug 1, 2016 · 0 comments

Comments

@everzet
Copy link
Member

everzet commented Aug 1, 2016

The method getRaw() just join the lines using "\n".

It would be useful if it could detect the EOF of the feature file and use the same.
If you need to produce a string with CRLF, a basic string comparison with the PyStringNode will fail.
public function getRaw() { return implode("\n", $this->strings); }

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