diff --git a/src/Framework/Framework/Controls/HtmlWriter.cs b/src/Framework/Framework/Controls/HtmlWriter.cs index 80cbce74c..94e7e1ac6 100644 --- a/src/Framework/Framework/Controls/HtmlWriter.cs +++ b/src/Framework/Framework/Controls/HtmlWriter.cs @@ -322,11 +322,6 @@ private void WriteAttrWithTransformers(string name, string attributeName, string { WriteHtmlAttribute(attributeName, attributeValue); } - - if (this.enableWarnings && char.IsUpper(attributeName[0])) - { - Warn($"{attributeName} is used as an HTML attribute on element {name}, but it starts with an uppercase letter. Did you intent to use a DotVVM property instead? To silence this warning, just use all lowercase letters for standard HTML attributes."); - } } private string ConvertHtmlAttributeValue(object value)