""");
+ foreach (var prop in node.Properties)
+ {
+ var name = WebUtility.HtmlEncode(prop.Name);
+ if (prop.IsComplexChild && prop.ChildNode != null)
+ {
+ var childPropsHtml = new StringBuilder();
+ RenderInspectorProperties(childPropsHtml, prop.ChildNode);
+ sb.Append($$"""
+
+ {{name}}: {{WebUtility.HtmlEncode(prop.SimpleValueText)}}
+
+ {{childPropsHtml}}
+
+
+ """);
+ }
+ else
+ {
+ var (valHtml, _) = FormatValueText(prop.SimpleValueText, prop.IsNull, prop.IsString);
+ sb.Append($$"""
+
+ {{name}}
+ {{valHtml}}
+
+ """);
+ }
+ }
+ sb.Append("
");
+ }
+
+ private static (string html, string cssClass) FormatCellHtml(DumpTableCell? cell, bool isColumnNumeric)
+ {
+ if (cell == null || cell.IsNull)
+ {
+ return ("""