Skip to content

Commit

Permalink
Better to return nothing than a bad SVG?
Browse files Browse the repository at this point in the history
  • Loading branch information
drpeck committed Aug 30, 2024
1 parent 46b0d29 commit 1fd344a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Our.Umbraco.TagHelpers/InlineSvgTagHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ public override void Process(TagHelperContext context, TagHelperOutput output)
{
_logger.LogWarning(exc, "Invalid svg markup");
}
return string.Empty;
}
}

Expand Down

0 comments on commit 1fd344a

Please sign in to comment.