Skip to content

Commit 6780470

Browse files
authored
Merge pull request #1161 from progressonderwijs/robin/remove-obsolete
remove obsolete attribute
2 parents d6a3f29 + 8ca9b24 commit 6780470

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/ProgressOnderwijsUtils/Html/HtmlSpec.AttributeConstructionMethods.Generated.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ public static THtmlTag _autofocus<THtmlTag>(this THtmlTag htmlTagExpr)
2323
public static THtmlTag _autofocus<THtmlTag>(this THtmlTag htmlTagExpr, string? attrValue)
2424
where THtmlTag : struct, IHtmlElement<THtmlTag>
2525
=> htmlTagExpr.Attribute("autofocus", attrValue);
26-
[Obsolete]
2726
public static THtmlTag _class<THtmlTag>(this THtmlTag htmlTagExpr, string? attrValue)
2827
where THtmlTag : struct, IHtmlElement<THtmlTag>
2928
=> htmlTagExpr.Attribute("class", attrValue);

test/ProgressOnderwijsUtils.Tests/HtmlDslGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ public static class AttributeLookupTable
298298

299299
string AttrHelper(string attrName)
300300
{
301-
var obsoleteAttribute = attrName == "class" ? "\n [Obsolete]" : "";
301+
var obsoleteAttribute = "";
302302
var applicabilityTypeContraint = globalAttributes.Contains(attrName) switch {
303303
true => "",
304304
false => $", IHasAttr_{toClassName(attrName)}",

0 commit comments

Comments
 (0)