[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] ox-md.el: fixed an issue where exporting markdown ToC wo
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [PATCH] ox-md.el: fixed an issue where exporting markdown ToC would fail if heading numbering is not enabled |
Date: |
Sat, 21 Apr 2018 11:14:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello,
Yue Zhu <address@hidden> writes:
> When exporting markdown with ToC, if heading numbering is not enabled, it
> would fail with the attached backtrace. The cause is that the function
> `org-md--build-toc' in `ox-md.el' does not properly handle this case which
> effectively results in a function call `(format "%d." nil)'. In my patch,
> when exporting markdown with ToC, if heading numbering is not enabled, ToC
> will be shown as an unordered list.
Applied. Thank you.
Regards,
--
Nicolas Goaziou