Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/abpframework/abp into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
arkaterol committed Feb 20, 2020
2 parents 5eb5298 + 4bffabe commit 5c82c6b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public string GetTitle(string title = null)
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))
{
Expand Down

0 comments on commit 5c82c6b

Please sign in to comment.