Pārlūkot izejas kodu

Updated markdown helper to use Extra mode

master
Teknikode pirms 3 gadiem
vecāks
revīzija
a1606c8662
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1
    0
      Utilities/Utilities/MarkdownHelper.cs

+ 1
- 0
Utilities/Utilities/MarkdownHelper.cs Parādīt failu

@@ -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 :(

Notiek ielāde…
Atcelt
Saglabāt