Permalink
Browse files

Support both abbr and acronym tags

Fixes #40
1 parent d6013c9 commit 7b130d302aa9becad5c7bc3e46b545354c1bf040 @xt0rted xt0rted committed Mar 16, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 ZenCoding/Html/HtmlElementFactory.cs
@@ -154,7 +154,7 @@ private static HtmlControl TryCreateFromStateMachine(string tagName)
case "abbr":
case "acronym":
- using (HtmlGenericControl abbr = new HtmlGenericControl("acronym"))
+ using (HtmlGenericControl abbr = new HtmlGenericControl(tagName))
{
abbr.Attributes["title"] = string.Empty;
return abbr;

0 comments on commit 7b130d3

Please sign in to comment.