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

New line at the end of SVG file #400

Closed
joelrfcosta opened this issue Oct 17, 2016 · 5 comments
Closed

New line at the end of SVG file #400

joelrfcosta opened this issue Oct 17, 2016 · 5 comments

Comments

@joelrfcosta
Copy link

GitHub review is warning that there should be an empty line at the end of document:

screen shot 2016-10-17 at 10 12 34

Is this reasonable, or just does not make sense on this document type?

@nicksp
Copy link

nicksp commented Oct 17, 2016

@joelrfcosta This is reasonable imo. The message is displayed because otherwise there is no way to tell the difference between a file where there is a newline at the end and one where is not. Diff has to output a newline anyway, or the result would be harder to read or process automatically.
And make sure, we have setting in .editorconfig that force us to use newlines.

This is a good habit to have newlines at the end of files due to 1 and 2 btw

@knsv
Copy link
Collaborator

knsv commented Oct 30, 2016

I am guessing that the use case is a svg generated by the cli with svg option set. Correct?

@joelrfcosta
Copy link
Author

Correct! 👍

On 30 Oct 2016, at 16:27, Knut Sveidqvist notifications@github.com wrote:

I am guessing that the use case is a svg generated by the cli with svg option set. Correct?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@knsv
Copy link
Collaborator

knsv commented Oct 31, 2016

Found the right place in the code to fix this but unsure about how to handle this in a platform independent way.

@knsv
Copy link
Collaborator

knsv commented Jan 29, 2017

Closed by release 7.0.0, please reopen if issues remain.

@knsv knsv closed this as completed Jan 29, 2017
mgenereu pushed a commit to mgenereu/mermaid that referenced this issue Jun 25, 2022
…yarn/develop/daisyui-1.14.1

chore(deps): bump daisyui from 1.14.0 to 1.14.1
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

3 participants