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

Don't chop nonwhitespace when trimming text #33

Closed
kzu opened this issue Jan 28, 2021 · 0 comments · Fixed by #34
Closed

Don't chop nonwhitespace when trimming text #33

kzu opened this issue Jan 28, 2021 · 0 comments · Fixed by #34
Labels

Comments

@kzu
Copy link
Collaborator

kzu commented Jan 28, 2021

Consider this weird indenting level on a doc comment:

    <summary>
This text may be chopped.
    </summary>

When trimming the text, the indent on the first XML element is used to substring every text line, which results in the text being chopped.

See #16 for reference of a fix.
Reported by @peteroupc

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

Successfully merging a pull request may close this issue.

1 participant