toptensoftware/markdowndeep — Issue #12: Transform() crashes on the piece of markdown
Author: nightroman
Created: 2012-03-08 23:27:49+00:00
State: open

The following minimized piece of markdown makes `Transform()` to crash if `ExtraMode && !SafeMode`:

Term

: Definition

***

# Heading

Here is a PowerShell script ready to demonstrate the problem (replace the hardcoded DLL path with the actual):

Add-Type -Path C:\BIN\MarkdownDeep.dll

$markdown = New-Object MarkdownDeep.Markdown
$markdown.ExtraMode = $true
$markdown.SafeMode = $false

$text = @'

Term

: Definition

***

# Heading

'@

$markdown.Transform($text)