Skip to content

Commit

Permalink
More fixes to whitespace stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Warren Buckley committed May 5, 2023
1 parent 0a10cb9 commit c88aee3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Our.Umbraco.TagHelpers/ImgTagHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@ public override void Process(TagHelperContext context, TagHelperOutput output)
output.Attributes.Add("alt", ImgAlt);
}
#endregion

#region If width & height are not defined then return a basic <img> with just a src, alt & class (if provided)
if (ImgWidth == 0 || ImgHeight == 0)
if (ImgWidth == 0 || ImgHeight == 0)
{
output.Attributes.Add("src", FileSource);

Expand Down

0 comments on commit c88aee3

Please sign in to comment.