can ANYONE tell me why this worked before on my other system without this?

This commit is contained in:
Michael Becker 2019-12-18 18:53:08 -05:00
parent f3df76ed40
commit 9515d658fb
No known key found for this signature in database
GPG Key ID: 506F54899E2BFED7

View File

@ -6,6 +6,23 @@ namespace UniversalEditor.ObjectModels.Markup
{
public class MarkupTagElement : MarkupContainerElement
{
public override void Combine(MarkupElement el)
{
base.Combine(el);
MarkupTagElement tag = (el as MarkupTagElement);
if (tag != null)
{
for (int i = 0; i < tag.Attributes.Count; i++)
{
if (!this.Attributes.Contains(tag.Attributes[i].FullName))
{
this.Attributes.Add(tag.Attributes[i].FullName, tag.Attributes[i].Value);
}
}
}
}
private MarkupAttribute.MarkupAttributeCollection mvarAttributes = new MarkupAttribute.MarkupAttributeCollection();
public MarkupAttribute.MarkupAttributeCollection Attributes
{