diff --git a/tools/MarkdownConverter.Tests/MarkdownConverter.Tests.csproj b/tools/MarkdownConverter.Tests/MarkdownConverter.Tests.csproj index 0d3274cf9..2bb064374 100644 --- a/tools/MarkdownConverter.Tests/MarkdownConverter.Tests.csproj +++ b/tools/MarkdownConverter.Tests/MarkdownConverter.Tests.csproj @@ -12,11 +12,6 @@ - - - - - diff --git a/tools/MarkdownConverter.Tests/emphasis-with-plural.md b/tools/MarkdownConverter.Tests/emphasis-with-plural.md index 6a1fe8fe6..1a08842e1 100644 --- a/tools/MarkdownConverter.Tests/emphasis-with-plural.md +++ b/tools/MarkdownConverter.Tests/emphasis-with-plural.md @@ -2,4 +2,4 @@ Rules: -Otherwise, if the namespaces imported by the *using_namespace_directive*s of the namespace declaration contain exactly one type having name `I` and `x` type parameters, then the *namespace_or_type_name* refers to that type constructed with the given type arguments. +Otherwise, if the namespaces imported by the *using_namespace_directive*s of the namespace declaration contain exactly one type having name `I` and `x` type parameters, then the *namespace_or_type_name* refers to that type constructed with the given type arguments. diff --git a/tools/MarkdownConverter.Tests/emphasis-with-plural.xml b/tools/MarkdownConverter.Tests/emphasis-with-plural.xml index aa6bea5c4..7f1518c36 100644 --- a/tools/MarkdownConverter.Tests/emphasis-with-plural.xml +++ b/tools/MarkdownConverter.Tests/emphasis-with-plural.xml @@ -28,7 +28,7 @@ using_namespace_directive - s of the namespace declaration contain exactly one type having name� + s of the namespace declaration contain exactly one type having name @@ -46,7 +46,7 @@ x - �type parameters, then the + type parameters, then the diff --git a/tools/MarkdownConverter/Converter/MarkdownSourceConverter.cs b/tools/MarkdownConverter/Converter/MarkdownSourceConverter.cs index e492bfad0..6b871c55c 100644 --- a/tools/MarkdownConverter/Converter/MarkdownSourceConverter.cs +++ b/tools/MarkdownConverter/Converter/MarkdownSourceConverter.cs @@ -425,7 +425,7 @@ IEnumerable Paragraph2Paragraphs(MarkdownParagraph md) var cell = new TableCell(); // This logic deals with the special case where - // the cell is meant to cntain bold inline code text. + // the cell is meant to contain bold inline code text. // The formatter parses it as emphasis, but surrounded // by single asterisks. We'll detect that and rewrite // it as the bold we intended. @@ -434,7 +434,7 @@ IEnumerable Paragraph2Paragraphs(MarkdownParagraph md) var span2 = para?.body.Skip(1).FirstOrDefault() as MarkdownSpan.Emphasis; var cellText = span2?.body.FirstOrDefault() as MarkdownSpan.InlineCode; var trailingAsterisk = span2?.body.Skip(1).FirstOrDefault() as MarkdownSpan.Literal; - if (leadingAsterisk?.text == "*" && cellText != null && trailingAsterisk?.text == "*") + if (leadingAsterisk?.text == "*" && cellText != null && trailingAsterisk?.text == "*") { var span = cellText as MarkdownSpan; var boldSpan = MarkdownSpan.NewStrong(ListModule.OfSeq([span]), default); @@ -943,7 +943,9 @@ IEnumerable Literal2Elements(string literal, bool isNested, bool } } - // Note for future PR: "function_members", "format_strings_1", and "format_strings_2" are the + // Note: See issue https://github.com/dotnet/csharpstandard/issues/1046. + // In PR https://github.com/dotnet/csharpstandard/pull/584, most of the custom tables were removed. + // "function_members", "format_strings_1", and "format_strings_2" are the // only special cases still used. The others can be safely removed in a future PR. IEnumerable GenerateCustomBlockElements(string customBlockId, MarkdownParagraph.InlineHtmlBlock block) => customBlockId switch {