jkitchin / ox-ipynb

org-mode exporter to Jupyter notebooks
174 stars 40 forks source link

Typo in code fails if you have a QUOTE block #52

Open powellb opened 2 months ago

powellb commented 2 months ago

If your org file has

+BEGIN_QUOTE

then exporting to notebook fails with too many arguments to buffer-substring because of a typo on line 603:

(org-md-quote-block elm
        (buffer-substring
         b       (org-element-property :contents-begin elm)
         (org-element-property :contents-end elm))
        nil)))

The extraneous 'b' should not be there. Removing it makes everything work.

jkitchin commented 2 months ago

that is indeed a typo. fixed above, thanks for reporting it!