@foreach (string s2 in s.Split(" ")) { @if (s2.StartsWith("https://") || s2.StartsWith("http://")) { @s2 } else { @s2 } @(" ") }
} @if (post.Content.Split("\n").Length > 6) {[Open thread to read more...]
} } else { @foreach (string s in post.Content.Split("\n")) { var className = ""; @if (s.StartsWith(">") && !Regex.IsMatch(s, "^>{2,}")) { className = "greenText"; }@foreach (string s2 in s.Split(" ")) { @if (s2.StartsWith("https://") || s2.StartsWith("http://")) { @s2 } else { @s2 } @(" ") }
} }