diff --git a/ChangeLog.md b/ChangeLog.md index 80789918e9..07a4855a4d 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fix analyzer [RCS1090](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1090) ([PR](https://github.com/dotnet/roslynator/pull/1566)) +- [CLI] Fix command `generate-doc` ([PR](https://github.com/dotnet/roslynator/pull/1568)) ### Change diff --git a/src/Documentation/TextUtility.cs b/src/Documentation/TextUtility.cs index dc38e122a7..ba0f0366eb 100644 --- a/src/Documentation/TextUtility.cs +++ b/src/Documentation/TextUtility.cs @@ -35,6 +35,7 @@ public static string RemoveLeadingTrailingNewLine( } if (trailingNewLine + && length > startIndex && s[length - 1] == '\n') { length--;