Browse Source

Merge branch 'dev' of https://github.com/abpframework/abp into dev

pull/2875/head
Arkat Erol 7 years ago
parent
commit
5c82c6b609
  1. 2
      modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/BloggingPage.cs

2
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))
{

Loading…
Cancel
Save