-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Keep trailing spaces on comments #598
Comments
Interesting. Shouldn't be hard to fix. |
websiddu
added a commit
to websiddu/js-beautify
that referenced
this issue
Feb 6, 2015
websiddu
added a commit
to websiddu/js-beautify
that referenced
this issue
Feb 6, 2015
Merged
https://github.com/beautify-web/js-beautify/blob/master/js/lib/beautify.js#L1157 |
websiddu
added a commit
to websiddu/js-beautify
that referenced
this issue
Feb 10, 2015
websiddu
added a commit
to websiddu/js-beautify
that referenced
this issue
Feb 10, 2015
websiddu
added a commit
to websiddu/js-beautify
that referenced
this issue
Feb 10, 2015
websiddu
added a commit
to websiddu/js-beautify
that referenced
this issue
Feb 10, 2015
websiddu
added a commit
to websiddu/js-beautify
that referenced
this issue
Feb 10, 2015
websiddu
added a commit
to websiddu/js-beautify
that referenced
this issue
Feb 10, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I've noticed that trailing spaces on comments are stripped in some cases. Some examples that keep them:
But this one does not:
(Tested on web)
For my use case, this is bad because js-docs comments are processed as Markdown, and two trailing spaces is the markdown way to print a new line in the final rendering.
This seems like a bug, since some formats do keep the trailing space, but I would like some confirmation on that.
Happy Holidays,
Gui
The text was updated successfully, but these errors were encountered: