🐛 Fix replace of markdown convertion
This commit is contained in:
@@ -15,10 +15,9 @@ public class MarkdownConverter
|
|||||||
|
|
||||||
public string ToHtml(string markdown, bool softBreaks = true)
|
public string ToHtml(string markdown, bool softBreaks = true)
|
||||||
{
|
{
|
||||||
var procMarkdown = markdown.Replace("solian://files/", "/drive/files");
|
var procMarkdown = markdown.Replace("solian://files/", "/drive/files/");
|
||||||
return string.IsNullOrEmpty(procMarkdown)
|
return string.IsNullOrEmpty(procMarkdown)
|
||||||
? string.Empty
|
? string.Empty
|
||||||
: Markdown.ToHtml(procMarkdown, softBreaks ? _pipelineSoftBreak : _pipeline);
|
: Markdown.ToHtml(procMarkdown, softBreaks ? _pipelineSoftBreak : _pipeline);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user