mirror of
https://github.com/xoofx/markdig.git
synced 2026-11-16 17:30:52 +00:00
Remove non necessary check in HtmlAttributes.CopyTo
This commit is contained in:
@@ -140,10 +140,6 @@ namespace Markdig.Renderers.Html
|
||||
}
|
||||
else
|
||||
{
|
||||
if (htmlAttributes.Properties == null)
|
||||
{
|
||||
htmlAttributes.Properties = new List<KeyValuePair<string, string>>();
|
||||
}
|
||||
htmlAttributes.Properties.AddRange(Properties);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user