Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Let the dispatch serve markdown without lpeg
Without lpeg both renderers stay nil, and the handler lookup already
falls back to plain text for a format it has no renderer for.
Diffstat (limited to 'custom')
| -rw-r--r-- | custom/extensions/about-render.lua | 5 |
1 file changed, 0 insertions, 5 deletions
diff --git a/custom/extensions/about-render.lua b/custom/extensions/about-render.lua index 3ae57e7..c19846e 100644 --- a/custom/extensions/about-render.lua +++ b/custom/extensions/about-render.lua @@ -991,11 +991,6 @@ if has_lpeg then render_man = function(text) render_blocks(text, parse_man) end -else - -- No lpeg, so markdown and man readmes read as escaped source, not - -- nothing. - render_markdown = render_plaintext - render_man = render_plaintext end |
