diff --git a/src/Markdig.Tests/Specs/GenericAttributesSpecs.md b/src/Markdig.Tests/Specs/GenericAttributesSpecs.md index 547955fd..defd2ee2 100644 --- a/src/Markdig.Tests/Specs/GenericAttributesSpecs.md +++ b/src/Markdig.Tests/Specs/GenericAttributesSpecs.md @@ -27,13 +27,13 @@ The following shows that attributes is attached to the current block or the prev This is a heading{#heading-link2} ----------------- -This is a paragraph with an attached attributes {#myparagraph attached-bool-property} +This is a paragraph with an attached attributes {#myparagraph attached-bool-property attached-bool-property2} .
This is a paragraph with an attached attributes
+This is a paragraph with an attached attributes
```````````````````````````````` The following shows that attributes can be attached to the next block if they are used inside a single line just preceding the block (and preceded by a blank line or beginning of a block container): diff --git a/src/Markdig.Tests/Specs/Specs.cs b/src/Markdig.Tests/Specs/Specs.cs index 6dedfb0a..f806cdcf 100644 --- a/src/Markdig.Tests/Specs/Specs.cs +++ b/src/Markdig.Tests/Specs/Specs.cs @@ -17465,17 +17465,17 @@ namespace Markdig.Tests // This is a heading{#heading-link2} // ----------------- // - // This is a paragraph with an attached attributes {#myparagraph attached-bool-property} + // This is a paragraph with an attached attributes {#myparagraph attached-bool-property attached-bool-property2} // // Should be rendered as: //This is a paragraph with an attached attributes
+ //This is a paragraph with an attached attributes
Console.WriteLine("Example {0}" + Environment.NewLine + "Section: {0}" + Environment.NewLine, 1, "Extensions Generic Attributes"); - TestParser.TestSpec("# This is a heading with an an attribute{#heading-link}\n\n# This is a heading # {#heading-link2}\n\n[This is a link](http://google.com){#a-link .myclass data-lang=fr data-value=\"This is a value\"}\n\nThis is a heading{#heading-link2}\n-----------------\n\nThis is a paragraph with an attached attributes {#myparagraph attached-bool-property}", "This is a paragraph with an attached attributes
", "attributes|advanced"); + TestParser.TestSpec("# This is a heading with an an attribute{#heading-link}\n\n# This is a heading # {#heading-link2}\n\n[This is a link](http://google.com){#a-link .myclass data-lang=fr data-value=\"This is a value\"}\n\nThis is a heading{#heading-link2}\n-----------------\n\nThis is a paragraph with an attached attributes {#myparagraph attached-bool-property attached-bool-property2}", "This is a paragraph with an attached attributes
", "attributes|advanced"); } } // The following shows that attributes can be attached to the next block if they are used inside a single line just preceding the block (and preceded by a blank line or beginning of a block container):