diff --git a/Fuchs.Tests/FuchsReportRenderTests.cs b/Fuchs.Tests/FuchsReportRenderTests.cs
new file mode 100644
index 0000000..7b05b6e
--- /dev/null
+++ b/Fuchs.Tests/FuchsReportRenderTests.cs
@@ -0,0 +1,52 @@
+using Fuchs.intranet;
+using Xunit;
+
+namespace Fuchs.Tests;
+
+///
| " + + $"{WebUtility.HtmlEncode(c.ColumnName)} | "); + } + sb.Append("
|---|
| ");
+
+ if (rw[c] is not DBNull)
+ {
+ string val = rw[c]?.ToString() ?? "";
+ bool largeText = c.DataType == typeof(string) && (c.MaxLength == -1 || c.MaxLength > 100);
+ if (largeText)
+ {
+ sb.Append(" ");
+ if (val.StartsWith("<") && val.EndsWith(">"))
+ sb.Append(WebUtility.HtmlEncode(val)); // matches legacy SOC .text() (InnerText) behavior
+ else
+ sb.Append(string.Join(" ");
+ }
+ else
+ {
+ sb.Append(WebUtility.HtmlEncode(val));
+ }
+ }
+ sb.Append("", + val.Replace("\r\n", "\n").Replace("\r", "\n").Split('\n').Select(WebUtility.HtmlEncode))); + sb.Append(" | ");
+ }
+ sb.Append("