瀏覽代碼

Updated markdown helper to use Extra mode

master
Teknikode 2 年之前
父節點
當前提交
a1606c8662
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      Utilities/Utilities/MarkdownHelper.cs

+ 1
- 0
Utilities/Utilities/MarkdownHelper.cs 查看文件

@@ -18,6 +18,7 @@ namespace Teknik.Utilities
{
// Transform the supplied text (Markdown) into HTML.
var markdownTransformer = new Markdown();
markdownTransformer.ExtraMode = true;
string html = markdownTransformer.Transform(text);

// Wrap the html in an MvcHtmlString otherwise it'll be HtmlEncoded and displayed to the user as HTML :(

Loading…
取消
儲存