mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-09 21:42:15 +00:00
[PR #24] [CLOSED] Update HtmlAttributes CopyTo logic #769
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/xoofx/markdig/pull/24
Author: @billbogaiv
Created: 6/23/2016
Status: ❌ Closed
Base:
master← Head:update-htmlattributes-copyto-logic📝 Commits (1)
1591215Update HtmlAttributes CopyTo logic📊 Changes
3 files changed (+40 additions, -2 deletions)
View changed files
📝
src/Markdig.Tests/Markdig.Tests.csproj(+1 -0)➕
src/Markdig.Tests/Renderers/Html/HtmlAttributesTests.cs(+32 -0)📝
src/Markdig/Renderers/Html/HtmlAttributes.cs(+7 -2)📄 Description
New behavior does an additional check on the
ClassesandPropertiesproperties to make sure null-values are not passed to their respective List constructors.Previous behavior would throw an exception is the former was true and the
share-parameter wasfalse.Ref. https://github.com/lunet-io/markdig/issues/23.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.