# Microsoft.AspNetCore.Html

``` diff
 namespace Microsoft.AspNetCore.Html {
     public static class HtmlContentBuilderExtensions {
-        public static IHtmlContentBuilder AppendFormat(this IHtmlContentBuilder builder, IFormatProvider formatProvider, string format, params object?[] args);
+        public static IHtmlContentBuilder AppendFormat(this IHtmlContentBuilder builder, IFormatProvider formatProvider, [StringSyntaxAttribute("CompositeFormat")] string format, params object?[] args);
-        public static IHtmlContentBuilder AppendFormat(this IHtmlContentBuilder builder, string format, params object?[] args);
+        public static IHtmlContentBuilder AppendFormat(this IHtmlContentBuilder builder, [StringSyntaxAttribute("CompositeFormat")] string format, params object?[] args);
     }
     [DebuggerDisplayAttribute("{DebuggerToString()}")]
     public class HtmlFormattableString : IHtmlContent {
-        public HtmlFormattableString(IFormatProvider? formatProvider, string format, params object?[] args);
+        public HtmlFormattableString(IFormatProvider? formatProvider, [StringSyntaxAttribute("CompositeFormat")] string format, params object?[] args);
-        public HtmlFormattableString(string format, params object?[] args);
+        public HtmlFormattableString([StringSyntaxAttribute("CompositeFormat")] string format, params object?[] args);
     }
 }
```

