Skip to content

Commit

Permalink
Fixing space alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
royhyde-dd committed Mar 18, 2019
1 parent 8f63031 commit 9768f27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DeloitteDigital.Atlas/Mvc/MvcLink.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ public MvcLink(ViewContext viewContext, ILinkFieldRenderingString linkField, str
foreach (var tagClass in linkTagClass.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries))
classes.Add(tagClass);
this.tagBuilder.Attributes.Add("class", string.Join(" ", classes));
} else if (!string.IsNullOrWhiteSpace(linkField.Class))
}
else if (!string.IsNullOrWhiteSpace(linkField.Class))
this.tagBuilder.Attributes.Add("class", linkField.Class);
else if (!string.IsNullOrWhiteSpace(linkTagClass))
this.tagBuilder.Attributes.Add("class", linkTagClass);
Expand Down

0 comments on commit 9768f27

Please sign in to comment.