diff --git a/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/BloggingPage.cs b/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/BloggingPage.cs index 0808432521..3c26a38ac7 100644 --- a/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/BloggingPage.cs +++ b/modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/BloggingPage.cs @@ -33,7 +33,7 @@ namespace Volo.Blogging.Pages.Blog public string GetShortContent(string content) //TODO: This should be moved to its own place! { var html = RenderMarkdownToString(content); - var plainText = Regex.Replace(html, "/<[^>]*>/g", ""); + var plainText = Regex.Replace(html, "<[^>]*>", ""); if (string.IsNullOrWhiteSpace(plainText)) {