You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| header | header |
|--------|--------|
| a | b | c |
filterMarkdown with table setting (as seen in dub registry) will crash the server.
Stacktrace:
0x00005555558f26fc in _D4vibe10textfilter8markdown__T10writeBlockTS3std5array__T8AppenderTAyaZQoZQBsFKQBkKxSQDgQDeQCv5BlockHQBiSQEaQDyQDp7LinkRefMCQEtQErQEi16MarkdownSettingsZv (settings=0x7fffffffdc20, links=..., block=..., dst=...)
at /home/webfreak/.dub/packages/vibe-d-0.8.3/vibe-d/textfilter/vibe/textfilter/markdown.d:540
540 dst.put(alstr[block.columns[i]]);
(gdb) bt
#0 0x00005555558f26fc in _D4vibe10textfilter8markdown__T10writeBlockTS3std5array__T8AppenderTAyaZQoZQBsFKQBkKxSQDgQDeQCv5BlockHQBiSQEaQDyQDp7LinkRefMCQEtQErQEi16MarkdownSettingsZv (settings=0x7fffffffdc20, links=..., block=..., dst=...)
at /home/webfreak/.dub/packages/vibe-d-0.8.3/vibe-d/textfilter/vibe/textfilter/markdown.d:540
#1 0x00005555558f2278 in _D4vibe10textfilter8markdown__T10writeBlockTS3std5array__T8AppenderTAyaZQoZQBsFKQBkKxSQDgQDeQCv5BlockHQBiSQEaQDyQDp7LinkRefMCQEtQErQEi16MarkdownSettingsZv (settings=0x7fffffffdc20, links=..., block=..., dst=...)
at /home/webfreak/.dub/packages/vibe-d-0.8.3/vibe-d/textfilter/vibe/textfilter/markdown.d:502
#2 0x00005555558f1683 in _D4vibe10textfilter8markdown__T14filterMarkdownTS3std5array__T8AppenderTAyaZQoZQBwFKQBkQpMCQDlQDjQDa16MarkdownSettingsZv (settings=0x7fffffffdc20, src=..., dst=...)
at /home/webfreak/.dub/packages/vibe-d-0.8.3/vibe-d/textfilter/vibe/textfilter/markdown.d:75
#3 0x00005555558f15ba in _D4vibe10textfilter8markdown__T14filterMarkdownZQrFNeAyaMCQCeQCcQBt16MarkdownSettingsZQBh (
settings=0x7fffffffdc20, str=...)
at /home/webfreak/.dub/packages/vibe-d-0.8.3/vibe-d/textfilter/vibe/textfilter/markdown.d:52
#4 0x00005555558f1539 in _D4vibe10textfilter8markdown__T14filterMarkdownZQrFNeAyaEQCdQCbQBs13MarkdownFlagsZQBd (
flags=<incomplete type>, str=...)
at /home/webfreak/.dub/packages/vibe-d-0.8.3/vibe-d/textfilter/vibe/textfilter/markdown.d:46
#5 0x00005555558e74e8 in D main () at source/app.d:9
Code:
import vibe.vibe;
voidmain()
{
string md = "| header | header ||--------|--------|| a | b | c |";
string html = filterMarkdown(md, MarkdownFlags.backtickCodeBlocks|MarkdownFlags.noInlineHtml|MarkdownFlags.tables);
}
The text was updated successfully, but these errors were encountered:
filterMarkdown with table setting (as seen in dub registry) will crash the server.
Stacktrace:
Code:
The text was updated successfully, but these errors were encountered: