-
Notifications
You must be signed in to change notification settings - Fork 146
feat(tsdoc): Don't replace line breaks when emitting comments #443
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
base: main
Are you sure you want to change the base?
Conversation
tsdoc/src/__tests__/__snapshots__/DocNodeTransforms.test.ts.snap
Outdated
Show resolved
Hide resolved
This LGTM but I'm currently traveling, so I'm not able to test it. @iclanton maybe you can try it in the playground? |
{ | ||
"packageName": "@microsoft/tsdoc", | ||
"comment": "Update emitter to not replace line breaks", | ||
"type": "major" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tagged this as major. I'm assuming we consider a change to the emitted format to be a breaking one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be a minor bump. This isn't a significant behavior change.
"type": "major" | |
"type": "minor" |
@Josmithr, can you provide some examples of what this actually changes? Maybe inputs and diffs of the before/after outputs? |
Preserves line breaks when emitting TSDoc comments. Ensures information is not lost.