diff --git a/Directory.Packages.props b/Directory.Packages.props index bba73271..b93d1bc1 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -6,7 +6,7 @@ - + diff --git a/FFmpeg.AutoGen.CppSharpUnsafeGenerator/Processing/FunctionProcessor.cs b/FFmpeg.AutoGen.CppSharpUnsafeGenerator/Processing/FunctionProcessor.cs index d143c868..3ab474fe 100644 --- a/FFmpeg.AutoGen.CppSharpUnsafeGenerator/Processing/FunctionProcessor.cs +++ b/FFmpeg.AutoGen.CppSharpUnsafeGenerator/Processing/FunctionProcessor.cs @@ -204,7 +204,7 @@ private static string GetCommentString(BlockCommandComment comment) { return comment == null ? null - : string.Join(" ", comment.ParagraphComment.Content.OfType().Select(x => x.Text.Trim())); + : string.Join(" ", comment.ParagraphComment.Content.OfType().Select(x => x.Text.Trim()).Where(x => !string.IsNullOrWhiteSpace(x))); } private static string GetSha256(string text)