diff --git a/src/Markdig.Tests/Specs/GridTableSpecs.md b/src/Markdig.Tests/Specs/GridTableSpecs.md index cd526d94a..0edf3b2ea 100644 --- a/src/Markdig.Tests/Specs/GridTableSpecs.md +++ b/src/Markdig.Tests/Specs/GridTableSpecs.md @@ -42,8 +42,8 @@ The following is a valid row separator | This is | a table | . --++ @@ -74,9 +74,9 @@ A regular row can continue a previous regular row when column separator `|` are | Col1c | .
This is
---+++
Col1 @@ -105,8 +105,8 @@ A row header is separated using `+========+` instead of `+---------+`: +=========+=========+ . --++ @@ -123,8 +123,8 @@ The last column separator `|` may be omitted: | This is | a table with a longer text in the second column .
This is
--++ @@ -150,9 +150,9 @@ So the width would be 4/16 = 25%, 8/16 = 50%, 4/16 = 25% +----+--------+----+ .
This is
---+++ @@ -172,9 +172,9 @@ Alignment might be specified on the first row using the character `:`: +-----+-----+-----+ .
A
---+++ @@ -197,9 +197,9 @@ Alignment might be specified on the first row using the character `:`: +---+---+---+ .
A
---+++ @@ -232,9 +232,9 @@ A grid table may have cells with both colspan and rowspan: +---+---+---+ .
AAAAA
---+++
AAAAA diff --git a/src/Markdig.Tests/TestPlayParser.cs b/src/Markdig.Tests/TestPlayParser.cs index 4c9f26098..c881f5a71 100644 --- a/src/Markdig.Tests/TestPlayParser.cs +++ b/src/Markdig.Tests/TestPlayParser.cs @@ -1,5 +1,5 @@ // Copyright (c) Alexandre Mutel. All rights reserved. -// This file is licensed under the BSD-Clause 2 license. +// This file is licensed under the BSD-Clause 2 license. // See the license.txt file in the project root for more information. using System; using System.Linq; @@ -19,7 +19,7 @@ public void TestLink() var link = doc.Descendants().SelectMany(x => x.Inline.Descendants()).FirstOrDefault(l => l.IsImage); Assert.AreEqual("/yoyo", link?.Url); } - + [Test] public void TestListBug2() { @@ -53,7 +53,7 @@ public void TestSimple() [Test] public void TestEmptyLiteral() { - var text = @"> *some text* + var text = @"> *some text* > some other text"; var doc = Markdown.Parse(text); @@ -195,8 +195,8 @@ public void TestGridTableWithCustomAttributes() { "; var expected = @" --++ @@ -219,7 +219,7 @@ public void TestSamePipelineAllExtensions() { var pipeline = new MarkdownPipelineBuilder().UseAdvancedExtensions().Build(); - // Reuse the same pipeline + // Reuse the same pipeline var result1 = Markdown.ToHtml("This is a \"\"citation\"\"", pipeline); var result2 = Markdown.ToHtml("This is a \"\"citation\"\"", pipeline); @@ -269,7 +269,7 @@ public void TestSamePipelineAllExtensions() //| Yes | //| ``` | //+===================================+======================================+ - //| This is a second line | + //| This is a second line | //+-----------------------------------+--------------------------------------+ //:::spoiler {#yessss} diff --git a/src/Markdig/Extensions/Tables/HtmlTableRenderer.cs b/src/Markdig/Extensions/Tables/HtmlTableRenderer.cs index 03bc62666..405c1b687 100644 --- a/src/Markdig/Extensions/Tables/HtmlTableRenderer.cs +++ b/src/Markdig/Extensions/Tables/HtmlTableRenderer.cs @@ -41,7 +41,7 @@ protected override void Write(HtmlRenderer renderer, Table table) { var width = Math.Round(tableColumnDefinition.Width*100)/100; var widthValue = string.Format(CultureInfo.InvariantCulture, "{0:0.##}", width); - renderer.WriteLine($""); + renderer.WriteLine($""); } } @@ -135,4 +135,4 @@ protected override void Write(HtmlRenderer renderer, Table table) renderer.WriteLine("
a
"); } } -} \ No newline at end of file +}