Skip to content

Commit

Permalink
Bug fix: HtmlHelperExtension generated invalid HTML markup.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmester committed Jul 5, 2017
1 parent de0e4ea commit 5daafb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Extensions/Jdenticon.AspNet.Mvc/HtmlHelperExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public static MvcHtmlString Identicon(this HtmlHelper helper, byte[] hash, int s
"src=\"" + HttpUtility.HtmlAttributeEncode(url) + "\" " +
"width=\"" + size + "\" " +
"height=\"" + size + "\" " +
"title=\"" + HttpUtility.HtmlAttributeEncode(alt ?? "") + "\" \">";
"alt=\"" + HttpUtility.HtmlAttributeEncode(alt ?? "") + "\" >";
return new MvcHtmlString(html);
}
}
Expand Down

0 comments on commit 5daafb4

Please sign in to comment.